Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |