Forum Discussion

Alex_Hasan's avatar
Alex_Hasan
Icon for Helper II rankHelper II
4 years ago
Solved

Keepfilters vs Filters

Here I have calculted two measures and they produced the same result. which one is more efficient and why?   
  • Fowmy's avatar
    4 years ago

    Alex_Hasan 

    I would suggest you use the 1st Measure "Green Sales":

    Explanation: You have effectively used KEEPFILTER here to show sales only when Green colour is visible. The most important point is, only the Product [Colour] column is used but the in the second measure, you are referring to the full Product table within the Filter function which is not efficient, also it will have the unexpected effect of expanded table.