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

Be 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

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.



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

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.



Follow on LinkedIn
@ 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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Seth_C_Bauer
Community Champion
Community Champion

@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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.