March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello
i get this error when using a measure from a fabric warehouse or lakehouse in a semantic model.
when i add the measure using power bi dekstop it works.
It seams that its the filter modifier All and Allselected that cause the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @S24_SimonNoer ,
The error you’re encountering seems to be related to the use of the and filter modifiers in your DAX measure within the semantic model. ALL/ALLSELECTEDThese functions behave differently when used as filters in CALCULATE.
ALL removes any active filters from the specified column or table ALLSELECTED returns all rows in a table, ignoring any filters that might have been applied inside the query, but keeping filters that come from outside.
The error message you’re seeing is likely coming from the ‘xmhierarchy.inl’ file, which is part of the underlying codebase. This file could be related to the hierarchy of your data model.
It’s possible that the issue arises when the semantic model tries to materialize a hierarchy that isn’t fully compatible with the and filters.ALLALLSELECTED
If the measure works in Power BI Desktop but not in the semantic model, it could be due to differences in how these platforms handle hierarchies and filters.
You might consider revising your DAX expression.
Best regards.
Community Support Team_Caitlyn