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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
dwallerius
Frequent Visitor

DAX Formula to capture Total Sales vs. Target Goal to get % Achieved

Help! I am trying to get the % of Goal Achieved, but the result of my calculation is giving me a whacked out %.  What is causing this?

 

dwallerius_0-1741958018336.png

 

1 ACCEPTED SOLUTION
Deku
Super User
Super User

What is the measurement you are try to made, it is not clear? Your % are massive because you * 100.

 

This? 

Deku_0-1741990530572.png

 

DIVIDE(
    'System Users'[Total Est Share],
    'System Users'[Target]
    ,0
)

 

 

Or are you looking for the overall % achieved

Deku_1-1741990703391.png

 

DIVIDE(
    sum( 'System Users'[Total Est Share] ),
    sum ('System Users'[Target] )
    ,0
)

 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

View solution in original post

6 REPLIES 6
Deku
Super User
Super User

What is the measurement you are try to made, it is not clear? Your % are massive because you * 100.

 

This? 

Deku_0-1741990530572.png

 

DIVIDE(
    'System Users'[Total Est Share],
    'System Users'[Target]
    ,0
)

 

 

Or are you looking for the overall % achieved

Deku_1-1741990703391.png

 

DIVIDE(
    sum( 'System Users'[Total Est Share] ),
    sum ('System Users'[Target] )
    ,0
)

 


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Thank you, I actually figured it out on Friday.  I had to change it from % to whole number.

techies
Super User
Super User

Hi @dwallerius please try this

 

% Achieved =
SUMX(
'System Users',
DIVIDE('System Users'[Total Est. Share], 'System Users'[Target], 0) * 100
)

― Power BI | Microsoft Fabric | PL-300 | DP-600 | Blog: medium.com/@cseprs_54978

Unfortunately, that didn't work either.  Different result, but still wacked.

dwallerius_0-1741975568049.png

 

bhanu_gautam
Super User
Super User

@dwallerius To calculate the percentage of goal achieved for each row, you can use calculated column instead of a measure

% Achieved = DIVIDE('System Users'[Total Est. Share], 'System Users'[Target], 0) * 100

 

If you want to use a measure, ensure that the context is correctly set. Here’s a revised measure that should work correctly in a table or matrix visualization:

% Achieved =
VAR TotalEstShare = SUM('System Users'[Total Est. Share])
VAR Target = SUM('System Users'[Target])
RETURN DIVIDE(TotalEstShare, Target, 0) * 100




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Unfortunately, this gave me the same exact result. It produces 3400% for each person.

 

Could this be a relationship issue?  I did bring over the estimated share and target columns from other tables.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.