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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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!:
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.


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!:
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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors