March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello everyone,
I ran into this annoying issue but not sure how to fix it. I have a datekey table and created a column call BOM (beginning of month) with just simple function StartofMonth. The problem is when displaying the month on the graph, it only displays the text of one month and skip the other.
For example: it only shows Mar 2017 and May 2017 but hid the April 2017. All the recommendations are highly appreciated.
Solved! Go to Solution.
So I created column in my Datekey table FORMAT(DateKey[Date],"MMM")&" " &DateKey[Year] to show only Month and Year.
Then I set it to Categorial in the graph it works perfectly. Thanks for all the help.
So I created column in my Datekey table FORMAT(DateKey[Date],"MMM")&" " &DateKey[Year] to show only Month and Year.
Then I set it to Categorial in the graph it works perfectly. Thanks for all the help.
Hi @lphong,
Have you resolved your issue? Please mark the helpful reply as answer, or share your solution.
Thanks,
Angelia
Thanks @v-huizhn-msft
The only problem with your proposal is that if you format the column to Text, when you sort the month name, it will sort alphabetical.
So I created a DateKey table with Date since 2011. Then I created a month/year column, Calendar(format[Date], "MMMM yyyy"). This will make sure my Month/year column can be sorted by timeline instead of alphabet letter. However, that's where it skipped the label of the months in between.
I thought this was scaling issue but it still doesn't work when I tried to scale the visual bigger.
Still looking for solution now. Should I file a bug for this?
Hi @lphong,
As I tested, it will display all the value if the month data type is text. Please see the screenshot.
It's weird, please click the format buttom->X-axis, and check your Scale type.
Best Regards,
Angelia
I think the issue exists in your dataset or relationships, If possible can you share images of how your data and relationships look like?
Thanks !!
I've tried as you suggested and only use the date on the same table (no releastionship involves).
I went to Edit Query and transform the date colum to Start of Month but it still skips the lable of the months in between.
Apparently I could convert the month name it to Text format but then it's only sortable aphabetically. Thanks for the help @prateekraina
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |