Friday, March 30, 2012
Multi-value parameter returns syntax error
more than one value is seelcted from the list the report produces an error
that references "Incorrect Syntax near ",".
How do I correct this?Show how you are using the parameter.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"StMaas" <StMaas@.discussions.microsoft.com> wrote in message
news:A4B88054-4FAE-4D62-BEF0-8B282C787E9E@.microsoft.com...
> I've created a report that includes a multi-value parameter, however when
> more than one value is seelcted from the list the report produces an error
> that references "Incorrect Syntax near ",".
> How do I correct this?
>|||Send the Query where you are using this parametre.For Multivalue you
should use "in" keyword instead of "="
hope this might be your problem
Bruce L-C [MVP] wrote:
> Show how you are using the parameter.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "StMaas" <StMaas@.discussions.microsoft.com> wrote in message
> news:A4B88054-4FAE-4D62-BEF0-8B282C787E9E@.microsoft.com...
> > I've created a report that includes a multi-value parameter, however when
> > more than one value is seelcted from the list the report produces an error
> > that references "Incorrect Syntax near ",".
> > How do I correct this?
> >sql
Monday, March 19, 2012
Multiple Time Dimensions in a cube
I have a fact table that includes multiple date fields OrderEntryDateId, WantDateId, ShippedDateId, InvoicedDateId.
Can I join time to more than one field or do I need to create 4 different cubes?
Thanks,
Chris
Hello. Provided that you have the same keys in the time dimensions table as for each date in your fact table, you can use this single time dimension for all time keys in the fact table.
You design the relations(primary key and foreign key) in the data source view, that you create before the cube.
When you build your cube i BI-Dev Studio, with the wizard, it will take care of creating different cube time dimensions for each fact table date field.
So one time dimension table will work in SSAS2005.
HTH
Thomas Ivarsson
|||I am using SSAS2000. Does this mean I need to upgrade? I don't see a way to do this in 2000.
|||Hello. In SSAS2000 you will have to build views in order to clone your original time dimension. Each time view will have to be joined to the fact table.
Upgrade or not? This depends. Some day you will have to.
Role playing dimensions(that i have decribed to you) is not the most important feature in SSA2005.
Regards
Thomas Ivarsson
|||Are you saying to make a view in SQL Server, or is this something that is done in SSAS 2000.
Thanks
|||Hello again.
With SSAS2000 you will have to build the view in SQL Server.
Regards
Thomas Ivarsson
Multiple Time Dimensions in a cube
I have a fact table that includes multiple date fields OrderEntryDateId, WantDateId, ShippedDateId, InvoicedDateId.
Can I join time to more than one field or do I need to create 4 different cubes?
Thanks,
Chris
Hello. Provided that you have the same keys in the time dimensions table as for each date in your fact table, you can use this single time dimension for all time keys in the fact table.
You design the relations(primary key and foreign key) in the data source view, that you create before the cube.
When you build your cube i BI-Dev Studio, with the wizard, it will take care of creating different cube time dimensions for each fact table date field.
So one time dimension table will work in SSAS2005.
HTH
Thomas Ivarsson
|||I am using SSAS2000. Does this mean I need to upgrade? I don't see a way to do this in 2000.
|||Hello. In SSAS2000 you will have to build views in order to clone your original time dimension. Each time view will have to be joined to the fact table.
Upgrade or not? This depends. Some day you will have to.
Role playing dimensions(that i have decribed to you) is not the most important feature in SSA2005.
Regards
Thomas Ivarsson
|||Are you saying to make a view in SQL Server, or is this something that is done in SSAS 2000.
Thanks
|||Hello again.
With SSAS2000 you will have to build the view in SQL Server.
Regards
Thomas Ivarsson