Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PatrickVeldt
Regular 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

 
 

 

1 ACCEPTED SOLUTION

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
 
or when I use a filter.
2020
Amsterdam 8000

View solution in original post

4 REPLIES 4
Pragati11
Super User
Super 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

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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
 
or when I use a filter.
2020
Amsterdam 8000

Hi @PatrickVeldt ,

 

Try using CONCATENATEX in place of CONCATENATE.

 
Thanks,
Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.