Forum Discussion
Do not show data in Table and Multi-Row Card when Text Filter is empty
- 8 years ago
1. Create a measure
MeasureToCheck = COUNTROWS(ALLSELECTED(Sheet1[AnimalType]))
2. Select table visual first and then click and drag that measure to visual level filter (see pic below)
and choose is 1.
3. Repeat 2 but first click row card.
So we have
then
and at the end
Are you ok???
Are you ok with this???
1. Create a measure
MeasureToCheck = COUNTROWS(ALLSELECTED(Sheet1[AnimalType]))
2. Select table visual first and then click and drag that measure to visual level filter (see pic below)
and choose is 1.
3. Repeat 2 but first click row card.
So we have
then
and at the end
Are you ok???
Are you ok with this???
Just wanted to say thanks for this solution. Whilst my scenario was slightly different it did help me to get on the right track. I had a 100% Stacked Graph visual and a multi-row card. I only wanted to show data in the card when a specific column of the Graph was selected.
I adapted the solution, checking that the count returned by the Measure = 1 or greater than 1. When the count is greater than 1 set all the elements of the card to match the background colour, when the count is 1 then set the colours as required to display.
This was for a Service Health dashboard requirement, dynamically populating a traffic light status indicator per application and displaying the underlying metrics when selected.