Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

occurrence display

i have coulmn with faultIDs, 

 

i want to return occurence counts of Faults that repeated more than 50 times, like if three IDs is repeated 50 time or more (Each one is repeated 50 times) then i have to display 3 in the card

 

thanx in advance for your support

 

  • Anonymous try this measure

     

    Count Measure = 
    
    CALCULATE ( 
    DISTINCTCOUNT ( Table[Id] ),
    FILTER (
    SUMMARIZE ( Table, Table[Id], "__cnt", COUNTROWS ( Table ) ),
    __cnt >= 50
    )
    )

     

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.

1 Reply

  • Anonymous try this measure

     

    Count Measure = 
    
    CALCULATE ( 
    DISTINCTCOUNT ( Table[Id] ),
    FILTER (
    SUMMARIZE ( Table, Table[Id], "__cnt", COUNTROWS ( Table ) ),
    __cnt >= 50
    )
    )

     

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.