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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DeBIe
Post Partisan
Post Partisan

How to show correct date format for drilling down

Hey all,

 

I am having trouble getting the correct date format when drilling down in a line chart. I have a date calendar and I created a hiearchy for Year-Quarter-Month-Day. I want it to look like this when drilling completely down:

DeBIe_0-1659362922730.png


This is my own result when drilling down from year to quarter (i'm missing the year under the quarter to show which year i'm looking at). This goes the same for drill down to month and day.

 

DeBIe_4-1659362977822.png

 

My hiearchy

DeBIe_8-1659363063409.png

 

Example of the date calendar

 

DeBIe_9-1659363087042.png

 

Thank you for looking into this!

 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @DeBIe ;

Try it.

1.month sort by monthsort.

vyalanwumsft_0-1659593993374.png

2.sort visual.

vyalanwumsft_1-1659594049434.png

3.close concatenate labels.

vyalanwumsft_2-1659594074213.png

The final show:

vyalanwumsft_3-1659594114219.png

If you need drill down, you could click this.

vyalanwumsft_4-1659594157395.png

 


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
v-yalanwu-msft
Community Support
Community Support

Hi, @DeBIe ;

Add another day.

Table = ADDCOLUMNS( CALENDAR(DATE(2021,12,22),TODAY()),"Year",YEAR([Date]),"Quarter","Q"&QUARTER([Date]),"Month",FORMAT([Date],"mmm"),"monthssort",MONTH([Date]),"day name",FORMAT([Date],"dddd"),"daysort",WEEKDAY([Date],2),"value",RANDBETWEEN(2,30))

vyalanwumsft_0-1659606103306.png

vyalanwumsft_1-1659606122191.png

The final show:

vyalanwumsft_2-1659606136733.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much @v-yalanwu-msft 

DeBIe
Post Partisan
Post Partisan

by the way, how to sort the day name as well?

DeBIe_0-1659600889019.png

 

v-yalanwu-msft
Community Support
Community Support

Hi, @DeBIe ;

Try it.

1.month sort by monthsort.

vyalanwumsft_0-1659593993374.png

2.sort visual.

vyalanwumsft_1-1659594049434.png

3.close concatenate labels.

vyalanwumsft_2-1659594074213.png

The final show:

vyalanwumsft_3-1659594114219.png

If you need drill down, you could click this.

vyalanwumsft_4-1659594157395.png

 


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey @v-yalanwu-msft 

 

Thank you so much. It works now. 

I was also using the wrong drill-down button....omg...

 

DeBIe_0-1659600305713.png

 

 

Thanks for your help!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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