Forum Discussion
KLAH96
5 years agoRegular Visitor
Specific filters
Hello everyone, I need your help for the following problem : At the filter level, I filter on a category and at the graph level, I display all categories except the filtered one. by using the foll...
- 5 years ago
Hi KLAH96 ,
Try the following formula:
sum = var FilteredID = CALCULATETABLE( VALUES(commitment[id_suppliers]), ALLSELECTED(commitment) ) var AllID = CALCULATETABLE( VALUES(commitment[id_suppliers]), ALL(commitment) ) return CALCULATE( [Σ of commitments], NOT('Category Segment'[Category label]) IN FILTERS ('Category Segment'[Category label]), INTERSECT( AllID, FilteredID ) )If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-kkf-msft
5 years agoCommunity Support
Hi KLAH96 ,
Try the following formula:
sum =
var FilteredID =
CALCULATETABLE(
VALUES(commitment[id_suppliers]),
ALLSELECTED(commitment)
)
var AllID =
CALCULATETABLE(
VALUES(commitment[id_suppliers]),
ALL(commitment)
)
return
CALCULATE(
[Σ of commitments],
NOT('Category Segment'[Category label]) IN FILTERS ('Category Segment'[Category label]),
INTERSECT( AllID, FilteredID )
)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
KLAH96
5 years agoRegular Visitor
Thanks a lot.
it works, very well!!