Forum Discussion

mahadeva_raobc's avatar
mahadeva_raobc
Frequent Visitor
9 years ago
Solved

Percent of column Total

Hi All,   Iam new to Power BI, is there a way to display % instead of number in stacked bar chart. I want to display column total % and not Percent of Grand Total
  • Anonymous's avatar
    Anonymous
    9 years ago

    mahadeva_raobc,

    Create the following measure in your table.

    Perent of Total = 
    DIVIDE (
        COUNTA(Sheet1[CIP2]),
        CALCULATE ( COUNTA(Sheet1[CIP2]), ALLEXCEPT (Sheet1,Sheet1[Week]) )
    )



    Regards,
    Lydia