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
joaohenrique300
Regular Visitor

PowerBi DAX equivalent for SUMIFS in Excel for this case

Hello,

I want to make a measure or a new column in Power BI that can achieve the same result as the example below, to obtain the "RESULT" column. The expression in excel is =Sumifs(COL B;COL A;"<="&[@[A3]]).

joaohenrique300_0-1676690603514.png

 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @joaohenrique300 

try to add a calculated column like:

Column = 
SUMX(
   FILTER(
        TableName,
        TableName[Col A]=<EARLIER(TableName[Col A])
    ),
    TableName[Col B]
)

View solution in original post

1 REPLY 1
FreemanZ
Super User
Super User

hi @joaohenrique300 

try to add a calculated column like:

Column = 
SUMX(
   FILTER(
        TableName,
        TableName[Col A]=<EARLIER(TableName[Col A])
    ),
    TableName[Col B]
)

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.