Filtering sets where member name contains ...


i trying write mdx query slices cube based on whether dimension attribute contains string.   in case, have order dimension po attribute.  when aggregate amounts po, looks like:

po            amount
123          10
124          30
125f        20
126           5
127f        30

the query looking write needs filter above  result set po contains 'f' (ie return 50)   can in bids browser excel, have been unable find mdx syntax this.  started @ filter function unable craft appropriate expression filter po %f.

any thoughts/suggestions?

thanks!



have few options.  when browsing notice if run trace using instr function members in dimension.  @ using analysis services stored procedure project.

refer link additional options , examples - http://social.msdn.microsoft.com/forums/en-us/sqlanalysisservices/thread/35edea0d-c031-4c6d-a0c7-9cca1561efdc/

dan english -- http://denglishbi.spaces.live.com


SQL Server  >  SQL Server Analysis Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........