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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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