This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 27 | |
| 26 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 36 | |
| 32 | |
| 25 | |
| 25 |