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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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 | DP-700 Certified

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.