The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
80 | |
75 | |
52 | |
50 |
User | Count |
---|---|
133 | |
124 | |
78 | |
64 | |
61 |