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
BIanon
Resolver I
Resolver I

Adding hour and minute granularity to a PBI model

Hello Community,

From modelling perspective, how would you handle a calendar dimension with a granularity of either hourly or minute?

I've expanded my Date dimension to also include a Hour and a Minute col
I've added a timestamp with a minute granularity to both my Calendar and Fact table to use as key since Date would now be many-to-many.

Now, I cannot mark the Calendar as date table because the date col is not unique and my results sliced daily no longer works.

Is it possible to both work with days, hours and minutes in the same model ?

1 ACCEPTED SOLUTION
ovde
Resolver II
Resolver II

Hi @BIanon,

 

I prefer to use a seperate Time dimension. I split the datetime in any fact table into diffent columns. In this case the date dimension can be marked as a datetable.

View solution in original post

2 REPLIES 2
ovde
Resolver II
Resolver II

Hi @BIanon,

 

I prefer to use a seperate Time dimension. I split the datetime in any fact table into diffent columns. In this case the date dimension can be marked as a datetable.

Thank you for your reply and great solution, worked like a charm.

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!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.