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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Shamsbutt
Helper II
Helper II

Need help to design Model for Per Second to Year hierarchy Visualization

I'm working with Big Data, have per second data for some years. Data tables are like TimeStamp, Key, Value

I want to plot heirarchy drill down and up functionality like

Seconds -> Minutes -> Hour -> Day -> Week -> Month -> Quater -> Year.

How can i acheive this.

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Shamsbutt ,

What about this?

last.PNG

PBIX file attached.

 

Best Regards,

Icey

 

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

7 REPLIES 7
Icey
Community Support
Community Support

Hi @Shamsbutt ,

Try this:

hierarchy1.gifhierarchy2.gif

Attach my PBIX file.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @Icey ,

 

I'll accept this as solution.

Can you please help if i add more complexity in heirarchy like, Last 5Min, 15Min, 30Min, 1hr, 2hr, 4hr, 8hr, 1day . . . upto Year.

Icey
Community Support
Community Support

Hi @Shamsbutt ,

You can create columns like so:

 

Last 5Min = IF('Table'[Minute]>=55,"Last 5Min")
Last 15Min = IF('Table'[Minute]>=45,"Last 15Min")

 

And then add them to the Hierarchy.

hierarchy2 last.gif

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@Icey ,

 

Why are you checking minute should be >= 55

Last 5Min = IF('Table'[Minute]>=55,"Last 5Min")

 

 

Icey
Community Support
Community Support

Hi @Shamsbutt ,

What about this?

last.PNG

PBIX file attached.

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @Icey 

Icey
Community Support
Community Support

Sorry, just misunderstood.😅 Give me some time.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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