The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a DAX for the sales goals of a group of people:
Role Goal (Monthly) =
SWITCH(TRUE(),
MAX(TeamUsers[PersonName]) = "name", 10000000/12,
MAX(TeamUsers[PersonName]) = "name", 10000000/12,
MAX(TeamUsers[PersonName]) = "name", 6000000/12,
MAX(TeamUsers[PersonName]) = "name", 12000000/12,
MAX(TeamUsers[PersonName]) = "name", 12000000/12,
MAX(TeamUsers[PersonName]) = "name", 12000000/12,
MAX(TeamUsers[PersonName]) = "name", 12000000/12,
"N/A")
Could I have the DAX adjusted so that if all users were selected from a slicer it would return 5 million?
Notes:
I have actual names within "name" have just removed for confidentiality!
The monthly total goal (5 million) is not the sum of everyones goal, but this is what it needs to be.
Thank you.
Solved! Go to Solution.
hi @BotBot1
hi @BotBot1
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
11 | |
7 |