Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS with calculated dimension members SSAS

$
0
0

Hello everybody,
I have an interesting scenario involving a SSRS report with a matrix connected to a SSAS cube containing calculated dimension members.

One of the parameters is "Reference Week".  Based on that parameter, I need the measures for the previous 5 weeks.
So I created an anchor dimension "Analysis Weeks" with the members "Week -1" to "Week -5".

Everything is working fine.  The only problem is the names of the columns on the report.  
Currently I have "Current Week", "Week -1", etc. as column names, I'd like to show the real dates.

For example, if I choose "2014-02-15" as the reference week, I want the first column to show "2014-02-15" instead of "Current Week". The second would show "2014-02-08" instead of "Week -1", etc.

I tried to get the current column position in the matrix, which I could use the with @ReferenceWeek parameter, but I can't access that property.

Any suggestion?

Thanks



Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>