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
I have an 'On Target' measure that has been created from 3 separate tables - this is used on a matrix visual showing accounts/customers that are either on or below target.
Is there a way of doing a count of the accounts/customers that are on or exceeding their targets (all the positive values) and the same for negative values? Looking to show the % of accounts/customers that are on target vs those that aren't.
When I try adding a count measure the 'On Target' measure is not an option to select. Is this because already calculated measures cannot be used within another measure?
Solved! Go to Solution.
HI @AllyT11
Please try
Count +ve =
COUNTROWS (
FILTER (
ADDCOLUMNS ( VALUES ( 'Table'[Customer Account] ), "@OnTarget", [On Target] ),
[@OnTarget] > 0
)
)
Count -ve =
COUNTROWS (
FILTER (
ADDCOLUMNS ( VALUES ( 'Table'[Customer Account] ), "@OnTarget", [On Target] ),
[@OnTarget] < 0
)
)
HI @AllyT11
Please try
Count +ve =
COUNTROWS (
FILTER (
ADDCOLUMNS ( VALUES ( 'Table'[Customer Account] ), "@OnTarget", [On Target] ),
[@OnTarget] > 0
)
)
Count -ve =
COUNTROWS (
FILTER (
ADDCOLUMNS ( VALUES ( 'Table'[Customer Account] ), "@OnTarget", [On Target] ),
[@OnTarget] < 0
)
)
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.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
21 | |
18 | |
15 | |
14 | |
13 |
User | Count |
---|---|
38 | |
34 | |
21 | |
19 | |
18 |