Forum Discussion
liselotte
Advocate I
1 year agoMeasure excluding row context
I have tables: - dimension table dim_Model with columns Model UID, Model Name, Factory (each Model UID has 1 unique Model Name and vice versa) - dimension table dim_Style with columns Style UID, St...
- Anonymous1 year ago
Hi liselotte ,
Please try this formula:
nr_Metallic_Accessories_2 = IF(MAX('fact_Accessory'[Is_Metallic]) in {0,1}, CALCULATE( SUM('fact_Accessory'[Is_Metallic]), ALLEXCEPT('fact_Accessory','fact_Accessory'[Model UID]) ))Result:
Best Regards,
Zhu
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
1 year agoNot applicable
Hi liselotte ,
Please try this formula:
nr_Metallic_Accessories_2 =
IF(MAX('fact_Accessory'[Is_Metallic]) in {0,1},
CALCULATE(
SUM('fact_Accessory'[Is_Metallic]),
ALLEXCEPT('fact_Accessory','fact_Accessory'[Model UID])
))
Result:
Best Regards,
Zhu
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
liselotte
Advocate I
1 year agoThat works like a charm. Thank you very much! 🙂