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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Create hierarchy hour, minute, second, millisecond

Hello

I have a column with the name time that collects data year, month, day, hour, minute, second and millisecond.

In this format,

2022-10-24 10:07:19.174

2022-10-24 10:07:27.454
2022-10-24 10:07:29.95

2022-10-24 10:07:40.013

My intention is to create a hierarchy that I can link in a segmentation so that I can choose what time frame at those scales I want to show myself.

If any further specification is needed, please do not hesitate to ask,

Thank you very much,

Eneko

4 REPLIES 4
Engineer_Spain
Regular Visitor

I understand. And once I have them separated by the date on one side and hour minute second on the other, could I have a segmentation to control the hours minutes and seconds?

you can have your full hierarchy including the date components too if you want.  The question will be how useful that will be to your report users.  How do you expect them to interact with the report?

It was not intended for user interaction. The problem goes beyond that. I'm only interested in strips of all the data information, and those strips are about a minute long.

lbendlin
Super User
Super User

giant red flag.  The granularity  (especially with milliseconds involved)  will be monstrous, and you will not be able to add any real data to that semantic model.

 

Recommendation is to have separate Date and Time dimension tables, and to separate these values in your fact table as well (into separate columns).  Ideally you would drop the milliseconds, but if you need to keep them the create a third dimension table just for them.

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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