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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I have the above table on power bi.
Description is a category of products, Quantity to expire is a measure from Stock table, Forecast is another measure from Forecast table. Risc BDD is Quantity-Forecast.
How can I show as Total on Risc BDD column only the 617 not all the aggregation which shows -11581 result.
Thank you!
Solved! Go to Solution.
@ekoland88 , I think this should work
if([RiskBDD]>0, [RISK BDD],0)
But if do not get a grand total
Try sumx(table,if([RiskBDD]>0, [RISK BDD],0))
or sumx(values(table[description]),if([RiskBDD]>0, [RISK BDD],0))
Yes, RiskBDD is indeed a measure but what table should I use in the sumx?
@ekoland88 , I think this should work
if([RiskBDD]>0, [RISK BDD],0)
But if do not get a grand total
Try sumx(table,if([RiskBDD]>0, [RISK BDD],0))
or sumx(values(table[description]),if([RiskBDD]>0, [RISK BDD],0))
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!