Forum Discussion

Sondre's avatar
Sondre
Frequent Visitor
2 years ago

Make it so that count does not change when value is selected

Hi,

 

I have a Card visual for count. When no value is selected in the table the count is correct, but when i select ex. "G16" the count changes. I want a measure for the count so that it does not change when a value is selected.

From what I understand, when a value is selected, it counts all that rows within the selected batch-slicer that has this value, and does not included rows from batches that does not contain this value.

Any suggestions? 

Currently have this measure:

 

Count = CALCULATE(COUNTROWS(Query), ALLEXCEPT(Query, Query[Batch]))

 

 

1 Reply

  • Sondre 

    This will remove all filters

    Count = CALCULATE(COUNTROWS(Query), REMOVEFILTERS () )