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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
link to model: https://onedrive.live.com/?cid=9B9FE0DA1F0E085D&id=9B9FE0DA1F0E085D%213069&parId=root&o=OneUp
I have spent hours reading on this topic. I am very close, but cannot seem to get over the hump:
What i want to be able to do is divide 'Filtered Numerator' by 'Denomiator' at the aggregated level for the total. My row data is good. Did i use 'Summarize' incorrectly?
Also, all my measures are SUMX formulas. For example:
Thanks for you help guys.
HI @airwolf39.
You can take a look at the following links to know how to use 'if statement' to check current row content level and write an expression to handle total level calculations:
Clever Hierarchy Handling in DAX
Measure Totals, The Final Word
Regards,
Xiaoxin Sheng
Hi @Anonymous ,
That is what i have been trying to do. Use a IF(Hasonefilter) to write a secondary formula for the total row. No luck.
HI @airwolf39,
Can please share some dummy data with a similar data structure and expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Its linked in the post. Thanks.
Hi @airwolf39,
In fact, I can't get sample data from the link you provided and it told me 'item missed'. Did this mean the file expired or you cancel the sharing?
Regards,
Xiaoxin Sheng
@airwolf39 ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Here is the link:https://onedrive.live.com/?cid=9B9FE0DA1F0E085D&id=9B9FE0DA1F0E085D%213069&parId=root&o=OneUp
What im trying to do for 'Capable fill rate %':
Using variables like that in your SUMMARIZE is incorrect. If you provide a link to your pbix (or a mock up of it), a specific solution can be provided. In any case, I suspect you are looking for a measure like this one.
NewMeasure =
SUMX (
VALUES ( 'David Production Planning Report'[FG-Parents INV] ),
VAR denominator = [SO - Week 1] + [Overdue SO]
VAR denominator =
MIN (
[Today's Inventory] + [WH4 - Week 1],
denominator
) + 0
RETURN
DIVIDE (
numerator,
denominator
)
)
If you have only the Parents INV column and the above measure in your table visual, this should give you the correct values on both rows and in the total.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
That ended up not working for me. The row data is fine, but not the total row:
bump
@airwolf39 Are you creating a new measure or a new column? What else do you have in your table in the screenshot if a measure?
When you use variables, they are calculated when you define them and stored as a number, not as a formula. So if you want this calculated in the summarize, you may need to define them inside the SUMMARIZE function.
I'm not clear what you're trying to do, so if you can give more info we can help better.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
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 |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 50 | |
| 45 |