Forum Discussion
PatrickVeldt
6 years agoRegular Visitor
Selectedvalue multiple filters
Hi all,
In my dashboard I got multiple filters and I got the right DAX to show all the values selected.
SV =
SELECTEDVALUE(Datum[Year];"All year")
&
SELECTEDVALUE(Station[Station];"All stations")
&
SELECTEDVALUE(mutations[reknr];"All GL's")
But when I use this, the selected values will show as: All yearAll stationsAll GL's
What I want is:
All year
All stations
All GL's
Can you please let me know what I need to enter to get the selected values below eachother?
Appreciate your feedback and information.
Br,
Patrick
Hi Pragati11 ,
Thank you for the dax, but unfortunately it only shows below eachother when I don't click a filter.
So I've updated the dax with below.
SV =CONCATENATE((SELECTEDVALUE(Datum[Year];"All year"));UNICHAR(10)&CONCATENATE((SELECTEDVALUE(Station[Station];"All stations"));UNICHAR(10)&CONCATENATE((SELECTEDVALUE(mutations[reknr];"All GL's"));UNICHAR(10))))but then I got
All year
All stations All GL'sor when I use a filter.2020Amsterdam 8000
4 Replies
- Pragati11Super User
Hi PatrickVeldt ,
Modify your dax as follows:
SV =SELECTEDVALUE(Datum[Year];CONCATENATE("All year", UNICHAR(10)))&SELECTEDVALUE(Station[Station]; CONCATENATE("All stations", UNICHAR(10)))&SELECTEDVALUE(mutations[reknr];"All GL's")Thanks,
Pragati
- PatrickVeldtRegular Visitor
Hi Pragati11 ,
Thank you for the dax, but unfortunately it only shows below eachother when I don't click a filter.
So I've updated the dax with below.
SV =CONCATENATE((SELECTEDVALUE(Datum[Year];"All year"));UNICHAR(10)&CONCATENATE((SELECTEDVALUE(Station[Station];"All stations"));UNICHAR(10)&CONCATENATE((SELECTEDVALUE(mutations[reknr];"All GL's"));UNICHAR(10))))but then I got
All year
All stations All GL'sor when I use a filter.2020Amsterdam 8000- Pragati11Super User