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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello All,
I have a requirement to show bar graph month wise. Even if multiple year selected from year slicer.
I don't want to show month-year on x-axis as "Jan-2020","Jan-2019" etc. Instead of this, I want to show "Jan" for both bars(2020, 2019). I selected both years ( 2020, 2019) from year slicer.
Regards,
Sonu
Solved! Go to Solution.
Hi @sonuojha1 ,
Are you looking for something like shown below?
For this you can create 2 new columns in your data using your DATE column and then use them on the chart as shown on the above screesnhot.
The 2 new columns will be for Month and Year part of your DATE column. You can use following DAX for them:
Use your table's date column in the above DAX expressions.
Thanks,
Pragati
Hi @sonuojha1 ,
Are you looking for something like shown below?
For this you can create 2 new columns in your data using your DATE column and then use them on the chart as shown on the above screesnhot.
The 2 new columns will be for Month and Year part of your DATE column. You can use following DAX for them:
Use your table's date column in the above DAX expressions.
Thanks,
Pragati
Thanks Pragati,
It helped partially to fullfill my requirement in addition to this.
Regards,
Sonu
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 44 | |
| 41 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 183 | |
| 114 | |
| 93 | |
| 61 | |
| 45 |