Forum Discussion
Filter with union instead of intersection Issue
- 7 months ago
Hi DatamirHub ,
Thanks for reaching out to the Microsoft fabric community forum.
At the moment, there is no official Microsoft documentation that describes a supported way to achieve UNION / OR behavior between slicers for table visuals.
The commonly shared approaches (including SQLBI examples) all use measure-based logic. While this works for cards and aggregated visuals, it causes performance issues for tables because the measure is evaluated row by row.
So the behavior you are seeing is expected and not related to an issue in your DAX. To avoid performance problems, the UNION logic needs to be handled at the model or data preparation level, or by redesigning the slicer approach.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Community Support Team
Hi DatamirHub,
here
https://www.sqlbi.com/articles/using-or-conditions-between-slicers-in-dax/
you find a video version, which I think is very comfortable to watch and implement step by step
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
- DatamirHub7 months agoAdvocate I
Thank you for the great articel unfortunately the first two approaches works for measure and not for filtering table except the third choice which i already tried above but its very performance extensive