Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to show every month even without data? How to display months as abbreviations?

Hi,

 

I have this issue that I am using the "Show values without data" function but its still not showing every month:

Mimii_0-1696991862321.pngMimii_1-1696991885316.png

when i do this, every month is shown but as words and I want numbers or short version of the month like Jan, Feb...:

Mimii_2-1696991946046.png

Mimii_3-1696991965041.png

Does somebody know how to display it like that?

5 REPLIES 5
mickey64
Super User
Super User

For your reference.

 

Step 1: I make a calendar table and add 'Year' column and 'Month' column.

    Calendar = CALENDARAUTO()

    Year = YEAR([Date])

    Month = FORMAT([Date],"mmm")

    mickey64_0-1696998453676.png

 

Step 2: I make 'Year Hierarchy'.

mickey64_1-1696998553070.png

mickey64_2-1696998617260.png

 

Step 3: I add a relationship.

mickey64_3-1696998679642.png

 

Step 4: I use 'Year Hierarchy' to X-axis.

 

Anonymous
Not applicable

Hi mickey,

 

your result really helped me however I am not using Calendar = CALENDARAUTO() since I have data for certain dates. This data is recognized as a Date tho.

How the Dates are organized in the maintable:

Mimii_0-1697009596234.png

Therefore I am struggeling now to create the hierarchy because the Month and Year are not under the same "calender" they are just random in my main table.

Mimii_1-1697009705506.png

Mimii_2-1697009724947.png

I believe, when they are in a hierarchy they won't let so,e dates out but currently still some month where I don't have data are missing:

Mimii_3-1697009869485.png

but the Months are already in 3digits which I love :3

 

Does someone know how to hierarchy them?

 

How about these options?

 

Option 1: I change 'Sort axis' of X-axis.

mickey64_1-1697014303067.png

 

Option 2: I change 'Show items with no data' of X-axis.

mickey64_0-1697014234477.png

 

You can add the same columns to data table, 'Year' and 'Month' from 'Input Date' column.

After you create 'Year hieralchy, you can add 'Month' to the 'Year Hierarchy'.

mickey64_2-1697015007686.png

 

 

vanessafvg
Super User
Super User

do you have a date column that is of date datatype?

 

secondly i would suggest using a date table so you can link your date to the date table and get any version of the date field that you need.

 

here is a video that explains it well

 

https://www.youtube.com/watch?v=WybnTHDl-AM





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors