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
I have a column in table "Accounts" called "Created Date". In a line chart, the data is showing by day. I want it to show by month.
I have spent two hours trying to figure this out myself. I created a "date table". I set a many:many relationship between Accounts(Created Date) and Date(Date). The line chart is still not grouping by month.
What am I missing?
Solved! Go to Solution.
You can just use date hierarchy remove day, quarter and year, use month as the axis. See example:
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Click on the date field. The "Column Tool" option is enabled above in the horizontal bar.
In that tab click on "Data Group"
New data group
Discretization size you mark 1 and select month, or 2 and month and year, etc.
Ready.
You can just use date hierarchy remove day, quarter and year, use month as the axis. See example:
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Why do you have a many to many relationship? It should be one to many. Do you have a month column in your calendar table that you are using? You should have. You also need a sort column for month to over ride the alpha sort order.
I have a general article on calendar tables here https://exceleratorbi.com.au/power-pivot-calendar-tables/
Thanks. I have changed it to many:one and still don't understand what to do.
Here is my date table dax:
Here is my date table:
Here is how my visualization is set up:
Here is what I am seeing (this is what I want to group by month):
Remove CreatedDate from settings, leave only YearMonthShort
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 |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |