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! Learn more

Reply
sureshgowda666
New Member

Sumif based on colums

Hello Team,

 

Need help in having the sum if in the conditional colum based on the 2 colums

Note, in the table i have more than 50 colums

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sureshgowda666 

You can refer to the following example.

Create the calculated column.

Sum = SUMX(FILTER('Table',[ID]=EARLIER('Table'[ID])),[USD Value])

vxinruzhumsft_0-1675649729065.png

You can refer to the following example to know more about sumx() function

SUMX – DAX Guide

SUMX Power BI | How to use SUMX Function in Power BI? (with Example) (wallstreetmojo.com)

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @sureshgowda666 

You can refer to the following example.

Create the calculated column.

Sum = SUMX(FILTER('Table',[ID]=EARLIER('Table'[ID])),[USD Value])

vxinruzhumsft_0-1675649729065.png

You can refer to the following example to know more about sumx() function

SUMX – DAX Guide

SUMX Power BI | How to use SUMX Function in Power BI? (with Example) (wallstreetmojo.com)

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

sureshgowda666
New Member

Here is the sample data

16754216298681258292839186107030.jpg

AbbasG
Memorable Member
Memorable Member

@sureshgowda666 if you can share some sample data with the desired outcome, it will be helpful to guide you.

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.

Top Solution Authors