March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
So I have the following table structure:
And use this DAX formula to find the total amount of Deals by Owner by Phase (one for each phase):
Solved! Go to Solution.
Hi @aashton
Thanks for reaching out to us.
Phase 1 2022 Approvals Count by Owner =
CALCULATE (
DISTINCTCOUNT ( 'Deal Review'[Deals Reviewed (Since 2019)] ),
FILTER (
ALL ( 'Deal Review' ),
'Deal Review'[Owner] = MIN ( 'Deal Review'[Owner] )
&& SEARCH ( "2022", 'Deal Review'[Phase 1],, BLANK () ) <> BLANK ()
)
)
-
max owner =
VAR _max =
MAXX ( 'Deal Review', [Phase 1 2022 Approvals Count by Owner] )
RETURN
CALCULATE (
MAX ( 'Deal Review'[Owner] ),
FILTER ( 'Deal Review', [Phase 1 2022 Approvals Count by Owner] = _max )
)
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @aashton
Thanks for reaching out to us.
Phase 1 2022 Approvals Count by Owner =
CALCULATE (
DISTINCTCOUNT ( 'Deal Review'[Deals Reviewed (Since 2019)] ),
FILTER (
ALL ( 'Deal Review' ),
'Deal Review'[Owner] = MIN ( 'Deal Review'[Owner] )
&& SEARCH ( "2022", 'Deal Review'[Phase 1],, BLANK () ) <> BLANK ()
)
)
-
max owner =
VAR _max =
MAXX ( 'Deal Review', [Phase 1 2022 Approvals Count by Owner] )
RETURN
CALCULATE (
MAX ( 'Deal Review'[Owner] ),
FILTER ( 'Deal Review', [Phase 1 2022 Approvals Count by Owner] = _max )
)
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Yes, that worked!!! Thank you so much
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |