Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
99 | |
38 | |
37 |
User | Count |
---|---|
157 | |
120 | |
74 | |
72 | |
63 |