Forum Discussion
DAX selected years
- 3 years ago
Hello
after a lot of struggle i found the solution to my problem
basically I had to create several calendars and use the formula CALCULATE([Year Value],USERELATIONSHIP('Calendar Year 1'[Date],Sales[Date])) for each selected year
it Works very well
send the example for knowledge
EXEMPLEThank you all for your help
Good Morning Amine Jerbi
Thanks again for your help
Could you give me an example of how I could do it?
I'm still new to Power BI
Hi
Is it possible to share a sample of your PBIX?
- ngomes3 years ago
Helper II
- aj19733 years ago
Community Champion
- ngomes3 years ago
Helper II
good afternoon again
That wasn't quite what I wanted, how to add the values of the previous year I know how to do it, I don't know how to compare the year 2021 with 2017 and 2017 with 2015, I don't know if I made myself understood, I send the print
the objective is to compare the 1st year selected with the 2nd selected and the 2nd with the 3rd
Thank you for your help