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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I am looking to find the sum of the budget of disticnt project . Really appreciate if someone can help me on this
Project name | status | budget | datesk |
Project A | dev | 6500 | 20200528 |
Project B | in progress | 5000 | 20200528 |
Project C | QA | 5500 | 20200528 |
Project A | completed | 6500 | 20200529 |
Project B | Unit testing | 5000 | 20200529 |
Project C | Complted | 5500 | 20200529 |
expected result :
Budget of project | 17000 (6500+5000+5500) |
Solved! Go to Solution.
Hi,
Here is the solution for you:
sumdistinct =
var tbl = SUMMARIZE('Table';'Table'[Name];'Table'[Project];'Table'[Budget])
return
SUMx(tbl;'Table'[Budget])
As can be seen here:
Power BI file is available here.
Please mark as solution if this is what you are looking for. Thanks!
Kind regards,
Steve.
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
Hi,
Here is the solution for you:
sumdistinct =
var tbl = SUMMARIZE('Table';'Table'[Name];'Table'[Project];'Table'[Budget])
return
SUMx(tbl;'Table'[Budget])
As can be seen here:
Power BI file is available here.
Please mark as solution if this is what you are looking for. Thanks!
Kind regards,
Steve.
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
Hi @Anonymous ,
You can try these measures.
@harshnathani thank you Harsh for you time. Really appreciate it. Sorry for not provideing more details on the requirement.
when i create this measure BudgetT = MAX('Table'[budget]) getting an error "The MAX funtion only accept a column reference as the argument number 1".
Then i tried to change it by BudgetT = MAX('Table'[budget],1) , this measure error got fixed but the final measure getting as below
project budget: 6500212
Could you please help me
Hi @Anonymous ,
Can you share your .pbix file removing all sensitive data ?
Regards.
HN
Hi @Anonymous ,
Is budget a column in your table or a measure ?
Regards,
HN
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.