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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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