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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.