Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a column that holds either dates or empty cells (null). I have set the data type to Date, but the Hierarchy is missing under Vizualizations. For other columns which are set with Date type, I have the hierarchy available.
Can you advise me how to get the hierarchy view?
Solved! Go to Solution.
I can think of three options.
1) Link the date column to a date table with contiguous dates and no blanks and use that
2) In Power Query replace all blank dates with 0 and then filter out the zero's (1/1/1900) if you need to.
3) Build Measures for your own Heiarchy
YEAR = FORMAT(AVERAGE(table[Date]),"YYYY")
QUARTER = VAR Q = FORMAT(AVERAGE(table[Date]),"Q" RETURN SWITCH(Q, "1", "Qtr 1","2", "Qtr 2","3", "Qtr 3","4","Qtr 4")
MONTH = FORMAT(AVERAGE(table[Date]),"MMM")
DAY = FORMAT(AVERAGE(table[Date]),"dd")
then make a heirachy by dragging them under the Date in teh right pane
The other columns that have a hierarchy do NOT contain any blank cells. I am a newby and don't really understand what you propose me to do... can you be more detailed please?
I can think of three options.
1) Link the date column to a date table with contiguous dates and no blanks and use that
2) In Power Query replace all blank dates with 0 and then filter out the zero's (1/1/1900) if you need to.
3) Build Measures for your own Heiarchy
YEAR = FORMAT(AVERAGE(table[Date]),"YYYY")
QUARTER = VAR Q = FORMAT(AVERAGE(table[Date]),"Q" RETURN SWITCH(Q, "1", "Qtr 1","2", "Qtr 2","3", "Qtr 3","4","Qtr 4")
MONTH = FORMAT(AVERAGE(table[Date]),"MMM")
DAY = FORMAT(AVERAGE(table[Date]),"dd")
then make a heirachy by dragging them under the Date in teh right pane