Forum Discussion
Anonymous
4 years agoNot applicable
DAX title
Hi,
How can I change this Dax measure so that it works when multiple things are selected?
Title =
"Sales Report for "
& IF (
CALCULATE (DISTINCTCOUNT ( Detail[Division] ),ALL ( 'Detail'[Division] ))
= CALCULATE (DISTINCTCOUNT ( Detail[Division] ), ALLSELECTED ( Detail[Division] )),
"UK",SELECTEDVALUE (Detail[Division] )) & " "
& SELECTEDVALUE ( 'Date Table'[year].[Year] ) & " "
If i select more than one division it just says "sales report for "
- Anonymous4 years ago
Hi Anonymous ,
You could simply use "IN VALUES(column)" instead of "= selectedvalue(column)".
You could use IN {string1, string2,...} if you need to manually enter the strings.
Best Regards,
Jay
2 Replies
- amitchandakSuper User
Anonymous , not very clear but concatenatex can help
use this in place of SELECTEDVALUE (Detail[Division] ))
concatenatex (allselected(Detail[Division] ), Detail[Division] )
- AnonymousNot applicable
Hi Anonymous ,
You could simply use "IN VALUES(column)" instead of "= selectedvalue(column)".
You could use IN {string1, string2,...} if you need to manually enter the strings.
Best Regards,
Jay