The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I am looking to recreate the image below in Power BI Desktop.
There is definitely DAX time intelligence involved here. I believe I will also need to create a Comparison Date table as well.
Any help would be much appreciated.
Thank you!
Solved! Go to Solution.
Hi @jytech ,
Comparing different time periods – DAX Patterns
Please refer to the link, you can use two slicers to compare two periods.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I found that this helped too:
https://medium.com/chandakamit/power-bi-comparing-data-across-date-ranges-36be49b68613
Hi @jytech ,
Comparing different time periods – DAX Patterns
Please refer to the link, you can use two slicers to compare two periods.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jytech,
Assuming you have a date table connected to your fact table, you could try the following measures:
Users = SUM('fact'[Users])
Prior Year Users = CALCULATE([Users], SAMEPERIODLASTYEAR('calendar'[date]))
Hope this helps or gets you going in the correct direction.
Proud to be a Super User!
Can you share some non-confidential sample data?
BTW, do you want to compare data which are the same period in different years?
Proud to be a Super User!
Paul on Linkedin.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
79 | |
70 | |
48 | |
41 |
User | Count |
---|---|
139 | |
112 | |
72 | |
64 | |
62 |