Forum Discussion
Strange result for ALLEXCEPT
So far I thought the TotalId is still working, then I clicked AA in Vertical in top table. Then you can see in screenshot 4 that TotalId also became wrong. I think this is because I kept filter for [Vertical], [SubVertical], and [SubSub] for TotalId, and it is filtered by Vertical AA from the first table.
Q3: So how can I get the number I want in lower table?
And where can I upload my Demo PowerBI report for your reference?
This is due to the different granularities within your one-table model and the order in which you use its fields in the visuals (see: https://www.sqlbi.com/articles/using-allexcept-versus-all-and-values/ )
I recommend start build a proper star-schema for your data in order to use ALLSELECTED : https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/
This should explain why one-table-models are a road to disaster in Power BI.
1 Reply
- ImkeF
Community Champion
This is due to the different granularities within your one-table model and the order in which you use its fields in the visuals (see: https://www.sqlbi.com/articles/using-allexcept-versus-all-and-values/ )
I recommend start build a proper star-schema for your data in order to use ALLSELECTED : https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/
This should explain why one-table-models are a road to disaster in Power BI.