Forum Discussion
Combine Filter and ALL in Measure
- 5 years ago
Hi PhiBu ,
Please use the following measure:
Measure = CALCULATE ( CALCULATE ( COUNT ( 'Product_Table'[value] ), FILTER ( 'Product_Table', 'Product_Table'[Product_Color] = "red" ) ), REMOVEFILTERS ( Customer_Data ) )If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
Hi amitchandak,
thanks to your fast reply.
I also tried the remove filter function. However, it seems to be ignored. The Customer_Date Slicer in my report still affects the measure. If I dont use the filter "FILTER('Product_Table', 'Product_Table'[Product_Color] = "red")", the masuere will not be affected by the Customer_Date Slicer.
Is there something I am missing? Can I not combine All and Filter function?
Best regards!
Hi PhiBu ,
Please use the following measure:
Measure =
CALCULATE (
CALCULATE (
COUNT ( 'Product_Table'[value] ),
FILTER ( 'Product_Table', 'Product_Table'[Product_Color] = "red" )
),
REMOVEFILTERS ( Customer_Data )
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
- PhiBu5 years ago
Helper I
Thanks, using calculate two times was the point I missed!