Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Periods to date when Date Dimension is sorted in desc order

$
0
0

I have been requested to sort the date dimension in descending order. Which I have done, however the some of the date calculations are no longer working because of this.

How would I rewrite this to work with the dimension in descending order?

Sum(
{NULL: [Date].[Calendar Year].CurrentMember}
,[Measures].[Transaction Days]
)

I have tried using periodstodate with order, but I can't seem to get it to work.


Viewing all articles
Browse latest Browse all 2472

Trending Articles



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