The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello.
I have a table with different dates.
I need to group these dates based on month and period, meaning:
Period 1 - From July 2020 to June 2021
Period 2 - From July 2021 to June 2022
Then, I want to have different graphs with sales per period and drillthrough to see sales per month.
But I want the graph to be ordered by Period when maxed out and after I drill, to be ordered from July to June.
What is the best method to accomplish this?
Thank you.
Hi @PDRTXRA , The best method to accomplish this is to create a Date table. Establish a relationship between the Date table and your Sales date. And then use the columns from the date table such as Financial Year and Month in your visuals.
There are plenty of resources online detailing how to create a date table. Here is one example: https://radacad.com/power-bi-date-or-calendar-table-best-method-dax-or-power-query
If this answer solves your problem please mark it as a solution!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
80 | |
77 | |
43 | |
39 |
User | Count |
---|---|
150 | |
117 | |
67 | |
64 | |
56 |