Forum Discussion
Self-Filtering
- 6 months ago
Jdogg the report is working as expected. by default, if you select a value in a visualization, that value will filter other visualizations in the report.
you can change this adding an ALL or REMOVE in the CALCULATE filters:CALCULATE (
COUNTROWS(WidgetHistory), ALL(WidgetHistory), WidgetHistory[CurrentStatusID] = 23)
Or changing the interaction between visualizations:i hope this help, if so please mark as a solution. kudos are welcome.
try this:
Widgets at Status 23 :=
CALCULATE (
DISTINCTCOUNT ( WidgetHistory[WidgetID] ),
WidgetHistory[CurrentStatusID] = 23,
REMOVEFILTERS ( WidgetHistory[ModifiedBy] )
)
Why the table visual shows 398 but the card shows 396
-
Table visual shows distinct widgets
-
Card is counting filtered history rows
-
Two widgets disappear because their latest row was modified by someone else
- Jdogg6 months agoNew Member
DISTINCTCOUNT gives a value of 1. COUNT gives the value of 396