Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I need a line or bar chart to show year over year comparison for two categories but also show month at same time. Is that possible? My data shows the columns 'Reported Date' and Category with values of Covid or Non-Covid. I need to show Year over year comparision by month. I'm new to Power BI and using quick measures and DAX. Any help would be appreciated.
Solved! Go to Solution.
Hi @ahhollan,
You can try this:
Here is the demo, please try it: Year over Year AND Month over Month with two categories
Best Regards,
Link
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ahhollan,
You can try this:
Here is the demo, please try it: Year over Year AND Month over Month with two categories
Best Regards,
Link
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ahhollan ,
You could check accepted solution on this link, it is pretty the same topic: https://community.powerbi.com/t5/Desktop/Year-over-Year-calculation/td-p/75403
In other words, there are several ways to combine current and previous year (DateAdd function, SamePeriodLastYear, PreviousYear) - you might check more about these functions for easier use.
Regards,
Nemanja Andic
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
87 | |
87 | |
87 | |
67 | |
49 |
User | Count |
---|---|
135 | |
113 | |
100 | |
68 | |
67 |