Forum Discussion

kl8818's avatar
kl8818
Frequent Visitor
3 years ago
Solved

Count Formula

I used quick measure and this is the formula it populated. However, I need to adjust it to be "a greater than/equal to 2" versus highlighting every individual number so I do not have to update it each time when new variables are added to the data set. 

= CALCULATE(COUNTA('User Summary'[First Login]),'User Summary'[Total Daily Logins] IN {2,3,4,5,6,7,8})

 

I believe the IN is what I need to adjust but I have not found anything that points me in the right direction. Could someone help me adjust this formula?

 

  • Hi kl8818 

    have you tried 

    = CALCULATE(COUNTA('User Summary'[First Login]),'User Summary'[Total Daily Logins] >= 2 )

    ?

2 Replies

  • tamerj1's avatar
    tamerj1
    Community Champion

    Hi kl8818 

    have you tried 

    = CALCULATE(COUNTA('User Summary'[First Login]),'User Summary'[Total Daily Logins] >= 2 )

    ?

    • kl8818's avatar
      kl8818
      Frequent Visitor

      Thank you! I first tried it with a => and it showed an error. I didn't think to attempt by reversing. That worked!