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
Alkhos
Advocate I
Advocate I

Support for Hour and Minute for Drill Down Behavior of Date

Hi,

 

I was wondering if there is any way to emulate support for drilling down a date field to levels lower than day.

I can see that in PBI desktop, currently, a date/time field is already broken into Year,Quarter,Month,Day and I can drill down to these levels to see various aggregations of my visuals.

What I was wondering is that if my date/time is in the formst YYYY/MM/DD HH:MM then is there any way to also drill down to HH and MM levels for the plotted data? If it is not supported out of the box, is there a way to emulate this behavior?

 

Thanks

Ali

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

You should be able to build your own custom hierarchy. Basically, create custom columns for Year, Month, Day, Hour and Minute and then drag and drop them into a hierarchy.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

You should be able to build your own custom hierarchy. Basically, create custom columns for Year, Month, Day, Hour and Minute and then drag and drop them into a hierarchy.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@Alkhos You could create calculate columns against the date field and drop that into the axis under the year/mo/day fields.

They would look something like

Hour = TIMEVALUE(Table[datetime_field])

Minute = MINUTE(Table[datetime_field])

 

Set Axis values as

Year

Quarter

Month

Day

Hour

Minute


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

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.