Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Good morning/ evening everyone.
I'm am trying to calculate the difference between sales im time.
I have done my calcualtions with.
MarginYTD = TOTALYTD([Margin Real+];'Calendar'[Date])
and
MarginMTD = TOTALMTD([Margin Real+];'Calendar'[Date])
The numbers next to the names from the same table. This is just a fragment of the table.
However what I want to do now is to calculate the most recent up to date sale which could be for example today or yesterday (most recent one - like in the picture) and MINUS one sale before that (doesnt matter which date e.g. it could be in 2017 or 2016) just for multiple products one sale before. + difference rate.
How should I write up my formula?
Thank you for your time.
Solved! Go to Solution.
@Anonymous,
You may refer to the DAX in link below.
@Anonymous,
You may refer to the DAX in link below.
Thank you for your time and efforts.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |