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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Anonymous
Not applicable

Translation of Maxifs excel into DAX

So I have a table that looks like this in Power Bi... without the "Max Stage Value by Epic" column

tonykv95_0-1656962301021.png

This last column I am able to get the value by using the maxifs formula in Excel...
How can I get this same result in Power Bi?
Thanks for the help!

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous 
Please try this: 

Max Stage Value = 

Var _Epic = Max(MaxTable[Epic])

var _calc = CALCULATE(MAX(MaxTable[Stage Value]),FILTER(All(MaxTable),MaxTable[Epic] = _Epic))

return _calc


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
Nathaniel_C
Community Champion
Community Champion

Hi @Anonymous 
Please try this: 

Max Stage Value = 

Var _Epic = Max(MaxTable[Epic])

var _calc = CALCULATE(MAX(MaxTable[Stage Value]),FILTER(All(MaxTable),MaxTable[Epic] = _Epic))

return _calc


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thanks for the help!

Hi @Anonymous ,

You are very welcome!

Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @Anonymous ,

Nathaniel_C_0-1656966433614.png


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors