Forum Discussion
Getting the difference of a value between two seperate time slicers.
Hey Everyone,
I'm trying to figure out a measure to give me what the difference between two time slicers are.
We're trying to find out how many events has happened in the current date, the previous date and get a measure to determine what the movement between has been.
I've seperated the Dates into two sheets form the samesource, one will be my "Comparison Month" and the other "Current Month"
The formulas are as follows, and both of them give me the correct answer.
2 Replies
- AlB
Community Champion
Hi Pandetbaby
Have you checked that both measures [Current Month] and [Comparison Month] return the correct result if you use them exactly in the scenario where you want to use [Movement] ? If so, [Movement] should certainly work. You show
Movement = [Current Month] - {Comparison Month]
instead of the correct
Movement = [Current Month] - [Comparison Month]
but I'm guessing that's just a typo
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
- amitchandak
Super User
Pandetbaby , I have a blog on two date range comparison, see if somehow can help in this case
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601