Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Chart - % by Year

I have a visual in Power BI with a table on top and chart below it.  On the table, I can show the % as a % of Column but in the Chart it is showing the % as a % of Grand Total for the 2 Years I have ...
  • v-yuta-msft's avatar
    v-yuta-msft
    7 years ago

    Anonymous ,

     

    Please modify your measure using dax below:

    Result =
    CALCULATE (
        SUM ( Donation_Distributions[Amount] ),
        ALLEXCEPT ( Table, Table[Payment Type], Table[Year] )
    )
    

    Community Support Team _ Jimmy Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.