Forum Discussion
Anonymous
6 years agoNot applicable
Filter and sclicer causing visualization discrepency
Hi I am a beginner in Power BI and I would like to know the feasibility/solution for my Queries. For a given data table "Prototype Modeling_freight" I have a measure as: volume = SUMX('Prot...
Mariusz
6 years agoCommunity Champion
Hi Anonymous
Try this instead
Volume distribution = DIVIDE([volume],CALCULATE([volume],ALLSELECTED())),0)
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
- Anonymous6 years agoNot applicable
Thank you Mariusz, it worked. I would like to understand how is this happening?
- Mariusz6 years agoCommunity Champion
Hi Anonymous
Sure, ALL() removes all filters from the filter context where ALLSELECTED() only the current one ie current visuals filters preserving all other filters coming from outside.
For more info please refer.
https://www.sqlbi.com/articles/the-definitive-guide-to-allselected/
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedIn- Anonymous6 years agoNot applicable
Thank You,
But the article you have suggested is too complex to understand and time consuming.I need simpler definition.