Forum Discussion
AgustinLopez
5 years agoFrequent Visitor
Labbel with previous year data
Hello, I'm new in Power Bi and I have some trouble making some DAX if you can help me be appreciate. I have the following data. And I'm showing it in a Bar Chart Also, I have s...
Pragati11
Super User
5 years agoHi AgustinLopez ,
I wrote a blog sometime back in which I have shown previour year sales calculation.
When you click on a bar with current year sales, the card visual on the top shows the previous year sales.
Link to the blog:
https://community.powerbi.com/t5/DAX-Commands-and-Tips/Labbel-with-previous-year-data/m-p/1543956
I think this will ive you an idea for your requirement.
Thanks,
Pragati