Forum Discussion

anandsoftweb's avatar
anandsoftweb
Advocate V
9 years ago
Solved

Min value count data in DAX

Hello,   I want dax calculation for min status value from specific Item Segment   below is my sample data.     Id Item Sub Item Item Status Description for Count the Value Expected Re...
  • Sean's avatar
    Sean
    9 years ago

    anandsoftweb

    I really think these should work! :smileyhappy:

     

    NEW Measure (Min Status) = 
    CALCULATE ( MIN ( 'NewTable'[Item Status] ), ALLEXCEPT ( 'NewTable', 'NewTable'[Item], 'NewTable'[Id] ) )
    
    NEW Measure (Count of Status) = CALCULATE ( COUNTA ( 'NewTable'[Item Status] ), FILTER ( 'NewTable', 'NewTable'[Item Status] = [NEW Measure (Min Status)] ), ALLEXCEPT ( 'NewTable', 'NewTable'[Item], NewTable[Id] ) )

     

    Good Luck!:smileyhappy: