Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
mdamico
Frequent Visitor

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 selected.  How can I show the %'s in the chart to mirrow what is in my table (as of % of total for each individual year)?  I have attached a screenshot of what I have.  Thanks!

 

image.pngimage.png

1 ACCEPTED SOLUTION

@mdamico ,

 

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.

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@mdamico ,

 

Seems like "%GT Donation for Pd" is a measure, this issue should be related to the measure. Could you share the dax code of the measure?

 

Regards,

Jimmy Tao

Here is the DAX code of the measure: Donation for Pd = calculate( SUM(Donation_Distributions[Amount]))

@mdamico ,

 

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.

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.