Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hey i'm trying to roll up values at the level of a given month and year and show these on the x-axis of a line plot chronologically. In its current state of making the axis the year and month values and then drilling down by month, January 2021 comes before December 2020. This issue extends from the lineplot to the matrices on a seperate report page that also have year/month hierarchical date values as their columns. Has anyone encountered this and been able to overcome this? I've included some screenshots but it looks like I don't have permission to upload a .pbix file
Solved! Go to Solution.
Hi @Anonymous ,
You need to use 'Expand all down one level in the hieraechy' to show the year and month at the same time.
Only go to the next hierarchy will just show the month hierachy which would ignore the year:
The hierarchy would not affect by the date slicer, please refer: Drill mode in a visual in Power BI
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You need to use 'Expand all down one level in the hieraechy' to show the year and month at the same time.
Only go to the next hierarchy will just show the month hierachy which would ignore the year:
The hierarchy would not affect by the date slicer, please refer: Drill mode in a visual in Power BI
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous create your own hierarchy rather than using the in-built hierarchy and sort your month by another column. You can read my post here on date dimension and it talks about sorting.
Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
sounds like you just need to have a sort order for your months. your sortorder column would be like year *100 + month. and highly likely you dont have any sorting issue but the level to which you are drilled on. you should use the fork drilldown to see both catagories in their associated years.
most likely you are returning multiple years so the months are highly likely running in that order.
User | Count |
---|---|
82 | |
72 | |
67 | |
47 | |
36 |
User | Count |
---|---|
111 | |
56 | |
50 | |
42 | |
40 |