Power BI hierarchies missing when data model consumed in Excel

Copper Contributor

I posted this issue in the Power BI forums.

Power BI hierarchies missing when data model consu... - Microsoft Power BI Community

After internal review, the Power BI team said this is an Excel issue and directed me to post here.

 

If a Power BI model contains a DirectQuery or Dual mode table, and that same model also contains attribute hierarchies, those hierarchies are not accessible when the model is consumed through Excel.

 

Example:

Model with single table in import mode containing a hierarchy in Power BI Desktop

NicholasGross_7-1645644242754.png

 

Published model viewed from Excel. Hierarchy works fine in import mode!

NicholasGross_8-1645644292828.png

 

Model with single table in DirectQuery mode containing a hierarchy

NicholasGross_9-1645644311219.png

 

Hierarchy missing in Excel 😞

NicholasGross_10-1645644321929.png

 

As we have many Excel users on our Power BI enterprise model and also rely on several hierarchies, this prevents us from optimizing our model with any type of aggregation or hybrid table. We are stuck with import on every table and cannot pursue any advanced refresh or query optimization strategies. 

 

 

8 Replies
same topic... is there any news?
thx Manuel

Is this issue solved yet? please let us know @ManuelK 

@gisn 

I am going off on a tangent here: with the dataset published in import mode, were you able to actually use the hierarchy in Excel? When I connect to such a dataset, I can see the hierarchy (just like in your screen capture), but when I go ahead and actually try selecting it, an error dialog pops up.

@ovidiubaciuIf I open Excel with models that use only import mode I can work with hierarchies otherwise they just don't go DIrect Query/Dual

I opened a support ticket on this topic some time ago. They acknowledged that it does not work but labeled it as "by design" so I do not anticipate a fix anytime soon.
This is an issue in Fabric's Direct Lake mode as well.

Any update Microsoft?  I'd like to use PBI dataset instead of SSAS - this will likely keep me from doing so.  PBI is good product, make it great by offering flexible options between PBI and Excel without introducing complexity to make it work.  Thanks.

 

  • For Analyze in Excel, only Power BI semantic models that use Import mode preserve hierarchies in the PivotTable Fields in the Excel workbook. Power BI semantic models that are built on DirectQuery or composite models don't retain their hierarchies when you use Analyze in Excel.

https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-analyze-in-excel#considerations...