The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Date hierarchies aren't working in DirectQuery Mode, but are working in Import mode. Please help
Import Mode
DirectQuery Mode
Searching around, I think below is the best response. Turning on Date/Time Table does NOT fix this in DirectQuery Mode. You will need to request the Model owner to add a Date Table (and name the bloody fields appropriately so users KNOW the date table pllies to Column X, so don't call it Date Table, call it "Purchased Date Table"!)
@Anonymous ,there can be a few reasons.
You might have switched off auto date time at file level (In options and Setting -> Options )
Joined these dates with a date table
These are the reasons Date Hierarchy can be missing
https://community.powerbi.com/t5/Desktop/Date-Hierarchy-Doesn-t-show/td-p/525460
https://community.powerbi.com/t5/Desktop/Date-hierarchy-not-available/td-p/438804
https://community.powerbi.com/t5/Desktop/Lost-Missing-Date-Hierarchy/td-p/421045
Check Settings
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-auto-date-time
I always prefer a date table and not the auto date time hierarchy
User | Count |
---|---|
81 | |
78 | |
37 | |
34 | |
31 |
User | Count |
---|---|
93 | |
81 | |
60 | |
49 | |
49 |