Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Dear all
I need assistance with a calculation involving goal and completed data, both of which are measurements.
I want to measure actual completions and incompletions (column D and E) for each program based on the following criteria:
If the completed number exceeds the goal number, only the goal number should be counted.
For example, in a particular case, the completion is calculated as 42, while the incompletion stands at 8.
Your guidance would be greatly appreciated.
Looking forward to your insights.Thanks
Solved! Go to Solution.
Hi @WWC2024 ,
Thank you for reaching out to us!
I tried to recreate it with my sampe data.Used below measures:
Hi @WWC2024 ,
Thank you for reaching out to us!
I tried to recreate it with my sampe data.Used below measures:
Dear Friend
total # in completions and incompletions are incorrect.
Since Goal and completed are measure, so I have tried the following dax and it works and wold like to share with you all.
1) get the goal exected adjust =
solve the "total row " is very interesting question. Believe many are facing the same problems.
Completion =
Sumx(
Values( table[program]),
Var goal =
Calculate( sum( table[goal]))
Var complete =
Calculate( sum( table[complete]))
Return
If( complete > goal, goal, complete)
Incomplete=
Completion =
Sumx(
Values( table[program]),
Var goal =
Calculate( sum( table[goal]))
Var completion =
[completion]
Return
goal - completion
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |