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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I'm trying to create a bar chart that, for the current month selected (e.g. May), shows sales values for every month of May in the data: May 2018, May 2019, May 2020, May 2021, May 2022, May 2023 etc
Is this possible in Power BI?
Thanks
Ah, OK thanks, I'll try it.
In Power Query, use the Date.Month function to create a new variable.
Then put this new variable into a slicer.
Change your chart so that the X-axis is categorical rather than continuous.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 46 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 90 | |
| 75 | |
| 41 | |
| 26 | |
| 26 |