Forum Discussion

oscarmrl's avatar
oscarmrl
New Member
8 years ago
Solved

Show category percent

Hi! I am new at Power BI and I cannot manage to get the percentage of the total in a text category. The thing is that I have data of a given test and there is a column that shows me whether the ques...
  • v-jiascu-msft's avatar
    8 years ago

    Hi oscarmrl,

     

    Try this formula please.

    %t Monthv =
    SUMX ( Table6, IF ( Table6[ok] = "t", 1, 0 ) )
        / COUNT ( Table6[ok] )
    

    Show_category_percent

     

    Best Regards,

    Dale