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!View all the Fabric Data Days sessions on demand. View schedule
Instead of just disaggregating the budget amount evenly across invoices like in Column I; using DAX Power BI, how can I calculate the percent the invoice is to the total net amount for invoices charged to that specific lawsuit and then divide the budget based upon that percent (like in Column K)? I've attached a screenshot, and the formula would be a variation of the formula below.
Goal =
[Amount paid to date for law suit]
/ CALCULATE (
COUNTROWS ( TableName ),
ALLEXCEPT ( TableName, TableName[Lawsuitkey] )
)
assuming lawsuit is the same as project id this calculated column should work
Column =
VAR __ProjectKey = 'Table'[Project Key]
VAR __InvoiceHeaderKey = 'Table'[Invoice Header Key]
VAR __TotalPerProject = CALCULATE(SUM('Table'[Budgeted Amount]), FILTER(ALL('Table'), 'Table'[Project Key] = __ProjectKey))
RETURN
__TotalPerProject*'Table'[Invoice Percent Of Total Invoices]
@Stachu I guess the first question should have been how do I get
'Table'[Invoice Percent Of Total Invoices]
This column is the Invoice Percent of Total Invoices grouped by Consulting Company Key
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 8 | |
| 5 | |
| 3 |
| User | Count |
|---|---|
| 28 | |
| 20 | |
| 19 | |
| 19 | |
| 12 |