Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a requirement where I have a bar graph in with sales as measure and year-month as dimension. I have slicer value month-year
requirement : If nothing is selected from month year I need to show current month sales in bar graph. if there is one or more selections I need to show values for those month - year selected.
for example if I have data like below, if nothing is selected I have to show value 7229 in bar graph as a single bar, if for example Jan 2021, August 2021, October 2021 is selected it should show relevant values in relevant bars
| Month Year | Sales |
| Jan 2021 | 19302 |
| Feb 2021 | 6473 |
| Mar 2021 | 7618 |
| Apr 2021 | 7392 |
| June 2021 | 85753 |
| July 2021 | 68292 |
| August 2021 | 62292 |
| September 2021 | 73627 |
| October 2021 | 7229 |
Solved! Go to Solution.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 19 | |
| 12 | |
| 11 | |
| 6 | |
| 6 |