Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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 ?
Solved! Go to Solution.
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.
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.
User | Count |
---|---|
85 | |
82 | |
66 | |
52 | |
48 |
User | Count |
---|---|
100 | |
49 | |
42 | |
39 | |
38 |