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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
bsg009
Frequent Visitor

Get the total average percent change of values on Matrix Visual

Hi,

 

Just come across with this roadblock where I can't find the right dax code to get the total average percent change of the pricing. Could someone help create the dax based on this table? Thanks!

bsg009_1-1706276276410.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @bsg009 ,

If I understand correctly, the issue is that you want to calculate the total average percent change of price.

Try to enter the following DAX formula to calculate.

AveragePercent = 
AVERAGEX(
    Sales,
    DIVIDE(
        (Sales[CurrentPrice] - Sales[PreviousPrice]),
        Sales[PreviousPrice],
        BLANK()
    )
) * 100

 

If the above ones can’t help you get it working, could you please provide more raw data(exclude sensitive data) with Text format to make a deep troubleshooting? It would be helpful to find out the solution.

 

Best Regards,

Wisdom Wu

Ritaf1983
Super User
Super User

Hi @bsg009 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.