Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

COUNT / PERCENTAGE

Hi, I have a column with 3 different entries in it (Early, Late & On-Time). I'm looking to count the number of entries for each and then have that as a percentage of the total amount of entries (i.e...
  • Fowmy's avatar
    Fowmy
    4 years ago

    Anonymous 

    Create the following Measure and Replace your Column name:

    Measure1 = 
    
    DIVIDE (
            COUNTA ( 'Product'[Category] ),
            CALCULATE ( COUNTA ( 'Product'[Category] ) , ALLSELECTED('Product'[Category] ) )
        )
    )