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 st...
- 6 years ago
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
Pragati11
6 years agoSuper 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
PatrickVeldt
6 years agoRegular 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's
All year
All stations All GL's
or when I use a filter.
2020
Amsterdam 8000
- Pragati116 years agoSuper User
- PatrickVeldt6 years agoRegular Visitor
Hi Pragati11 ,
Thank you, the first solution didn't work.
But when I removed it from the card and used it again, then it works apparently.
Patrick.