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
DavidSasse
Frequent Visitor

Create a summary (SUM or SUMX) with multiple filter conditions

Hi,

I'm new to Power BI and trying to basically created a calculated column in Power BI to add up some payments based on specific filters, in Excel I would use the following to create the filter column:

 

=IF(IF(COUNT(SEARCH({"97356719"},AT2)),"Code","Non Code") = "Code", "Code",(IF(COUNT(SEARCH({"Customer1","Customer2","Customer3","Customer4","Customer5","Customer6"},M2)),"Fixed Price","Not Fixed Price")))

 

AT2 and M2 are the data columns

 

is there a way to layout the DAX code to test two different column of data and mutiple string matches in each?

4 REPLIES 4
v-xicai
Community Support
Community Support

Hi @DavidSasse ,

 

Could you please share your sample data or desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Best Regards,

Amy

Just wondering if anyone can help me Smiley Happy

 

The link to your data has expired.  I suggest starting a new thread (with a link to your data) and try to explain better what you want.

For example, Here is the current data

 

xxxxx xxx

 

Here is what I want returned

 

yyy

 

and here is the logic to make that happen

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors