Forum Discussion

cwertenberger's avatar
cwertenberger
New Member
3 years ago

Creating Percentages with Non-Numerical Fields

Hi All, 

 

I am trying to show percentages with non-numerical fields. I want to show the percentage of individuals completed with a training course using the columns labeled Completed, Not Completed, and Registered. I am not sure the best route for this as these are not numerical numbers. I wanted to divide the Completed/Registered. Any ideas on Measure to complete this? I am not sure how to specify/filter the Count of the Completed and Registered from the Completion Status column the data is listed underneath. 

1 Reply

  • Hi, 

    I am not sure how your datamodel looks like, but I tried to create a simple pbix file - sample like below.

    Please check the below picture and the attached pbix file.

    I hope the below can provide some ideas on how to create a solution for your datamodel.

     

     

     

     

    Courses count: = 
    COUNTROWS( VALUES( Data[Course] ) )

     

    Completed ratio: = 
    DIVIDE (
        COUNTROWS ( FILTER ( Data, Data[Completion status] = "Completed" ) ),
        [Courses count:]
    )