Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
ptmuldoon
Resolver I
Resolver I

Date Heirarchy shows in BI, but not in Pivot Table?

I'm really not sure if this is a Power BI issue, or I just never noticed before with Excel and Power Pivot.

 

In my pbix file, I have a table with a simple date column that is formatted and recognized as a date with a hierarchy.

 

ptmuldoon_0-1706112795081.png

 

If  I drop that date field into a BI table visual, I then also see the Hierarchy

ptmuldoon_1-1706112854054.png

 

But after I publish this to the service and then connect to that DataSet in Excel, the Pivot Table does not give me the Hierarchy almost as if treats all date's as text?

ptmuldoon_2-1706113044046.png

 

EDIT.   And interestly, when I look at the datmodel in the Service online, that Date Heirarchy is missing?  yet it exists in the pbix file when viewing on desktop.

ptmuldoon_0-1706113365126.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ptmuldoon ,

You might consider creating a calendar table that contains the required hierarchical fields.

Calendar = 
ADDCOLUMNS(
    CALENDAR(MIN('DaliyData'[Date]),MAX('DaliyData'[Date])),
    "Year",YEAR([Date]),
    "Quarter","Qtr " & QUARTER([Date]),
    "Quarter Number",QUARTER([Date]),
    "Month",FORMAT([Date],"mmmm"),
    "Month NUmber",MONTH([Date]),
    "Day",DAY([Date])
)

vcgaomsft_0-1706149707140.png

vcgaomsft_1-1706149895755.png



You can also turn off Auto Date/Time and create Heirarchy manually:

vcgaomsft_2-1706150041421.png
vcgaomsft_3-1706150068780.png

vcgaomsft_4-1706150231588.png
Auto date/time in Power BI Desktop - Power BI | Microsoft Learn

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @ptmuldoon ,

You might consider creating a calendar table that contains the required hierarchical fields.

Calendar = 
ADDCOLUMNS(
    CALENDAR(MIN('DaliyData'[Date]),MAX('DaliyData'[Date])),
    "Year",YEAR([Date]),
    "Quarter","Qtr " & QUARTER([Date]),
    "Quarter Number",QUARTER([Date]),
    "Month",FORMAT([Date],"mmmm"),
    "Month NUmber",MONTH([Date]),
    "Day",DAY([Date])
)

vcgaomsft_0-1706149707140.png

vcgaomsft_1-1706149895755.png



You can also turn off Auto Date/Time and create Heirarchy manually:

vcgaomsft_2-1706150041421.png
vcgaomsft_3-1706150068780.png

vcgaomsft_4-1706150231588.png
Auto date/time in Power BI Desktop - Power BI | Microsoft Learn

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.