Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |