Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
Hi,
I am trying to follow this https://radacad.com/how-to-use-time-and-date-dimensions-in-a-power-bi-model
I created a dim_time and a dim_date table and corrospondig realtionships to my fact table as described in the blog.
The relationship with the dim_date table works as expected.
However the relationship with the dim_time table does not work correctly. Somhow no all times are matched to each other.
I checked:
Anyone any idea how to fix this problem?
Many thanks in adavance!
Hi @chris2 ,
If there is a dimtime matching facttime, data in dimtime won't show blank.
My Sample:
DimDate:
DimDate = CALENDARAUTO()
DimTime:
let
Source = List.Times(#time(0,0,0),24*60*60,#duration(0,0,0,1)),
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Renamed Columns" = Table.RenameColumns(#"Converted to Table",{{"Column1", "Time"}}),
#"Changed Type" = Table.TransformColumnTypes(#"Renamed Columns",{{"Time", type time}})
in
#"Changed Type"
Relationship:
Result is as below.
Best Regards.
Hi @RicoZhou2 ,
thank you for your reponse. You basically described what I did. The only difference is that I get blank times on both the fact and the dim side.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
65 | |
45 | |
39 | |
31 |
User | Count |
---|---|
164 | |
111 | |
61 | |
53 | |
38 |