Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Sumx is not showing correct total when used Min function inside

Hi Guys,

I have developed fax experience just a month ago. Now i am stuck in something with respect to aggregation when using Sumx.

Scenario: i have a measure 'Buy 1' from table 1. Now in table 2, i am using this measure and then comparing with existing another measure 'Buy 2' in table 2.

My code is
If (hasonefilter(material),
Min(buy1, sum(buy2)),
Sumx(table2, min(buy1,buy2))
)

This is not working..

Can anyone please assist me for this fax expression?? This is bug in my production dashboard and i need to resolve asap.

Any hints will be highly appreciated.

Thanks
1 ACCEPTED SOLUTION
Anonymous
Not applicable
1 REPLY 1
Anonymous
Not applicable

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.