Forum Discussion
Card not showing correct count when using table visual filters
- 4 years ago
BeAStar okay, I figured out what is going on! Completely a rookie error on my part. The color filtering you are doing in the Filter pane is at the Visual level, not at the page level.
Below is using the Countrows with a Slicer:
Below is the Countrows however filtering Color on the table visual:
Ultimately, when you have the slicers in there, and you are filtering, it won't be an issue. If you want to use the Filter pane options, then just add colour to the page filter level like below:
Hope this helps!
Theo 🙂
- 4 years ago
BeAStar no problem. As long as you understand that by adding the filter at the Visual level, you are restricting the filter to that Visual. If you want to have other visuals on the page filtered based on a filter selection, then just move filter from the Visual to the Page level. This gives you what I gather you are after (e.g. no slicers and the KPI card to give the number of row in the table).
All the best with it!
Theo
BeAStar the 27 count, that suggests there are more records being within the context of the measure. If you want the distinct colour count, you will need to use a different measure that calculates the count of color occurrences by category. I believe you may want to use the count of names in the KPI card and you should get 9 instead of 27.
Let me know if it works k.
Cheers,
Theo
unfortunately, I have over 20 different fields that can be filtered at any one time so this would not be a feasible solution, but thank you for the option.
- TheoC4 years agoCommunity Champion
BeAStar no problem. As long as you understand that by adding the filter at the Visual level, you are restricting the filter to that Visual. If you want to have other visuals on the page filtered based on a filter selection, then just move filter from the Visual to the Page level. This gives you what I gather you are after (e.g. no slicers and the KPI card to give the number of row in the table).
All the best with it!
Theo
- TheoC4 years agoCommunity Champion
BeAStar okay, I figured out what is going on! Completely a rookie error on my part. The color filtering you are doing in the Filter pane is at the Visual level, not at the page level.
Below is using the Countrows with a Slicer:
Below is the Countrows however filtering Color on the table visual:
Ultimately, when you have the slicers in there, and you are filtering, it won't be an issue. If you want to use the Filter pane options, then just add colour to the page filter level like below:
Hope this helps!
Theo 🙂