Forum Discussion
aghonaim
8 years agoMost Valuable Professional
DAX Formula
Can someone help me with a simple formula to calcualte the value of the last year (which is YYYY number not a full date) ? I tried the following formual but it isn't returning any values: LY = Calc...
AlbertoFerrari
8 years agoMost Valuable Professional
The question is: "what do you want to see at the grand total"? Showing the value for 2012 looks a good compromise, but if you want to fix it, you first need to decide what to show there. At the grand total - being no year in the selection - the very value of "last year" is undefined.
Have fun with DAX!
Alberto Ferrari
http://www.sqlbi.com