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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
rax99
Helper V
Helper V

How to drill on datetime data without aggregating into level above

I have some data with a DateTime column. What I need to be able to do is drill down to the second level. I've created my own hierarchy Year>month>day>hours>minutes>seconds.

 

The only problem is if I plot some data on a line chart, and I drill down to the day, hours, minutes or seconds level, the data is grouped by the whole amount.

 

For example, if I drill down to the Day7 level, it will give me the data for all Day7's across all months. Or if I drill down to hour4, it will aggregate across every hour4, across every day of every month of every year.

 

so this sample data has 2 days worth of data.

 

Below shows across 2 days:

 

rax99_0-1641400769409.png

If I drill down a level, it gives me the hours:

 

rax99_1-1641401019661.png

 

But as you can see the hours have been aggregated across both days. 

 

I wanted to see the trend across the 2 days, so expect the chart to look something like the following:

 

rax99_2-1641401227845.png

 

Apologies for the crude illustration, but how can something like this be achieved?

1 ACCEPTED SOLUTION
rax99
Helper V
Helper V

Managed to solve it. If anyone is interested, the data type for the day/month/hour/min/sec columns I changed to Text. This stopped the data grouping into the number buckets

View solution in original post

1 REPLY 1
rax99
Helper V
Helper V

Managed to solve it. If anyone is interested, the data type for the day/month/hour/min/sec columns I changed to Text. This stopped the data grouping into the number buckets

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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