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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
JEM_Systems
Helper I
Helper I

Do a SUMIFS() excel formula but in DAX

Hello Everyone, how can I do this formula cleary simple in Excel but in DAX? I'm struggling to get it.

=T3/SUMIFS(T:T,AM:AM,AM3)

1 ACCEPTED SOLUTION
mh2587
Super User
Super User

SumIF = //try this
DIVIDE(
    Table1[T3],
    CALCULATE(
        SUM(Table1[T]),
        FILTER(
            Table1,
            Table1[AM] = EARLIER(Table1[AM])
        )
    )
)

Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



View solution in original post

1 REPLY 1
mh2587
Super User
Super User

SumIF = //try this
DIVIDE(
    Table1[T3],
    CALCULATE(
        SUM(Table1[T]),
        FILTER(
            Table1,
            Table1[AM] = EARLIER(Table1[AM])
        )
    )
)

Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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