The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I need to put filters on one column. I can do it two ways
i) Putting filter in measure calculation
ii) Applying filter on visualization
Which approach is better in terms of performance?
Hey @Sreya ,
depends very much on the data model and the measure.
You have to test that with DAX Studio.
To be honest, if both slice the filter context based on relationships they should have a similar performance.
With DAX you can screw up easier by slicing on iterators for example, but if you know what you are doing you can also improve better. With the filter on visualization it's more likely to have a good performance as you just filter existing tables.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
55 | |
40 | |
31 | |
27 | |
24 |