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
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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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