Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello all, pretty frustrated with what I feel should be a simple task
I have a simple set of GL data, as seen below, where my amount is in one column, and my accounts are rows.
I then do a very simple model where I have a GL Account class lookup table, which assigns the class "revenue" and "cost" to each account.
I then just want to have a simple cost ratio at the account level, of cost/total revenue. the table should look as such below, but nothing returns at the account level for a margin. even the revenue accounts are wrong, as Revenue Reg should be 60% of total revenue, , and Revenue Spec should be 40%
My measures are
Solved! Go to Solution.
Hi @Anonymous ,
Please have a try.
Create a measure.
Total Revenue = CALCULATE(SUM('Table'[Amount]),ALLEXCEPT(gl_class,gl_class[Class ]))
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please have a try.
Create a measure.
Total Revenue = CALCULATE(SUM('Table'[Amount]),ALLEXCEPT(gl_class,gl_class[Class ]))
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Total Revenue = CALCULATE([Value],gl_class[Class]="Revenue",all(gl_class[Account]))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 9 | |
| 7 | |
| 6 |