Forum Discussion

Colinu's avatar
Colinu
Helper I
8 years ago
Solved

Counting distinct (unique) values

I have been trying to count the values in a column. I have tried the belwo   Count Kit Bags = DISTINCTCOUNT(PPECheckinOut[ScanKitBagTag])   the result should be 16 but it reuturns 17 (counting th...
  • Zubair_Muhammad's avatar
    Zubair_Muhammad
    8 years ago

    Colinu

     

    And this

     

    Measure 2 =
    SUMX (
        ALL ( PPECheckInOut[ScanKitBag ], PPECheckInOut[ Crabs] ),
        CALCULATE ( VALUES ( PPECheckInOut[ Crabs] ) )
    )