- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Showing Month and Year
I am trying to show a year number beside the month name but not having luck. As of now seems that my January is bunched up (January 2022 and January 2023) inside January. How would the visual show me a separate bar for January 2022 and a separate one for 2023?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @stribor45
You should use custom date table to achieve all these options.
Under modelling tab, click New Table and paste this code
Dates =
ADDCOLUMNS(
CALENDERAUTO(),
"Month No", MONTH([Date]),
"Year No", YEAR([Date]),
"Month Name", FORMAT([Date], "mmm"),
"Month Year", FORMAT([Date], "mmm-yyyy")
)
Establish relationship between your fact table and this table. Now you can drag Month Year to axis in the chart.
You can find more videos on youtube
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @stribor45
You should use custom date table to achieve all these options.
Under modelling tab, click New Table and paste this code
Dates =
ADDCOLUMNS(
CALENDERAUTO(),
"Month No", MONTH([Date]),
"Year No", YEAR([Date]),
"Month Name", FORMAT([Date], "mmm"),
"Month Year", FORMAT([Date], "mmm-yyyy")
)
Establish relationship between your fact table and this table. Now you can drag Month Year to axis in the chart.
You can find more videos on youtube

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

User | Count |
---|---|
90 | |
80 | |
58 | |
46 | |
40 |