Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Sreya
Helper II
Helper II

Which is faster in terms of performance, applying filter in DAX or applying filter in visualization?

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?

1 REPLY 1
selimovd
Super User
Super User

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.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors