Forum Discussion

JacobCoops's avatar
JacobCoops
Frequent Visitor
6 years ago
Solved

Count If measure

Hello   I am trying to create a measure that returns the percentage of customers with 3 or more logins. My dataset is a list of CustomerIDs and timestamps (logins) where one row equals one login. I...
  • Greg_Deckler's avatar
    6 years ago

    Measure = 

      VAR __Table = 

        FILTER(

          SUMMARIZE(

            'Table',

            [KundeID],

            "__Count", COUNTROWS('Table')

          ),

         [__Count] > 3

      )

    RETURN

      COUNTROWS(__Table)