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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
ksteever
Helper I
Helper I

Sum of values based on condition(s)

I have a table of issues from our organizations work management system (Jira). Each issue can be linked to a parent issue which has it's own column in my data set (ParentLink). Is there a way that I can grab the list of Parent issues, put it into a new table, eliminate all duplicates values, then do a search for every time that value exists. When it finds the value, it should do a sum function every time it finds that value of the "story points" column in the row if the "status category" column says in progress. 

 

I could do this in excel in like 5 minutes with something like the below but I'm struggling with how I can do this in PowerBI.

 

=sumifs(B:B, A:A, A2, C:C, "In Progress") 

 

Any help is hugely appreciated!

1 ACCEPTED SOLUTION
miTutorials
Super User
Super User

The below dax is provided based on the excel formula that you have provided. If this does not work please provide more information.

 

TotalInProgress = 
    CALCULATE(
        SUM('YourTable'[B]),
        'YourTable'[A] = MAX('YourTable'[A2]),
        'YourTable'[C] = "In Progress"
    )

 

Best regards,

Ismail | 🎥 MiTutorials on YouTube
Explore over 200+ Power BI tutorials and enhance your skills!

View solution in original post

2 REPLIES 2
miTutorials
Super User
Super User

The below dax is provided based on the excel formula that you have provided. If this does not work please provide more information.

 

TotalInProgress = 
    CALCULATE(
        SUM('YourTable'[B]),
        'YourTable'[A] = MAX('YourTable'[A2]),
        'YourTable'[C] = "In Progress"
    )

 

Best regards,

Ismail | 🎥 MiTutorials on YouTube
Explore over 200+ Power BI tutorials and enhance your skills!

CoreyP
Solution Sage
Solution Sage

Please share a sample of your data and screenshot of your model. And maybe a mock-up of your desired output visual.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.