Check If a Visual Is Being Filtered

Create a table to use as a filter:

Indicators =
DATATABLE(
"IndicatorName", STRING,
"IndicatorValue", INTEGER,
{
{ "IsSystemTotal", 1 }
})

Create a measure to check if a visual is being filtered:

_Is System Total = ISFILTERED('Indicators'[IndicatorName])

This can be used as an "indicator".

Add the following filter to the visual:

Indicators[IndicatorName] is IsSystemTotal

This will cause the _Is System Total measure to return TRUE.

Comments

Popular posts from this blog

Difference between DISTINCT and VALUES in DAX