Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
I have a card title on my report which shows users the company they have selected when using filters - However if they select more than one company it will only show the last company selected. I would like this to just say "Multiple Companies Selected" if more than 1 is.
The current dax measure I have is:
Solved! Go to Solution.
Hi @JayTG123 ,
Please try this:-
Measure =
IF (
ISFILTERED ( 'Street Works Applications & Works'[Organisation] ),
IF (
COUNTROWS ( VALUES ( 'Street Works Applications & Works'[Organisation] ) ) > 1,
"Multiple Companies Selected",
MAX ( 'Street Works Applications & Works'[Organisation] )
),
"Kent Totals"
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @JayTG123 ,
Please try this:-
Measure =
IF (
ISFILTERED ( 'Street Works Applications & Works'[Organisation] ),
IF (
COUNTROWS ( VALUES ( 'Street Works Applications & Works'[Organisation] ) ) > 1,
"Multiple Companies Selected",
MAX ( 'Street Works Applications & Works'[Organisation] )
),
"Kent Totals"
)
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |