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
Hello, I am new to PowerBi and I need your help.
I need to make a comparative graph between 2 years and I am not achieving it.
I have a sales table with date and years, I have added in my report the 2-year filter where the user must choose the years he wants to compare.
It happens that when I select the years in these filters (e.g. 2021 and 2022) and my graph goes blank, can they help me to achieve my goal please?
Thanks in advance
Solved! Go to Solution.
Hi @Syndicate_Admin ,
I'd like to suggest you to create a independent slicer table:
Slicer = distinct('table'[year])
Then create a measure like below and add it to visual filter set value = 1.
Hi @Syndicate_Admin ,
I'd like to suggest you to create a independent slicer table:
Slicer = distinct('table'[year])
Then create a measure like below and add it to visual filter set value = 1.
@Syndicate_Admin , if you have date, with help from date table or date of your table
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
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 |
|---|---|
| 37 | |
| 32 | |
| 27 | |
| 24 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 50 | |
| 31 | |
| 26 | |
| 22 |