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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Harvest multiple values from a slicer

Hey folks,

I am trying to create a measure that harvests multiple values from a slicer and display on a page title. The formular currently in use is only capable of harvesting 1 value and return "More than a month selected". The formular is as below.

SELECTEDVALUE('MTD Forecast'[DateforPreviousYears].[Month],"More than a month selected")
An ideal solution will show as selected, which will vary from "January, March" to "Quarter 1"  as desired (the variable 'DateforPreviousYears" is a Date hierarchy).
 
Any suggestions?
1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

To harvest multiple values from a slicer, you can try  in VALUES('Table'[column]) to replace SELECTEDVALUE('Table'[column]).

If I misunderstood, please share a sample pbix or relevant screenshots to further clarify your question.

Best Regards,
Community Support Team _ Eason
 

 

View solution in original post

7 REPLIES 7
daXtreme
Solution Sage
Solution Sage

VALUES will return a table with all the values selected in a slicer but such a table can't be used directly in a report. A measure must always return a single value with no exceptions. So, to visualize all the values selected in a slicer you have to also use the CONCATENATEX function over VALUES to turn the individual rows of the virtual table into a string that can then be displayed.

Anonymous
Not applicable

It works like perfectly @daXtreme . Thanks for that.

v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

To harvest multiple values from a slicer, you can try  in VALUES('Table'[column]) to replace SELECTEDVALUE('Table'[column]).

If I misunderstood, please share a sample pbix or relevant screenshots to further clarify your question.

Best Regards,
Community Support Team _ Eason
 

 

Anonymous
Not applicable

Thanks @v-easonf-msft. I think you got it quite right...only a slight difference. The challenge isnt to harvest value..but values. Using the Value DAX command failed to harvest values. When I selected more than 1 variable, the solution crashed.

Hi, @Anonymous 

Please show the full formula you are currently using or related screenshots.

This will better help me understand the question.

 

Best Regards,
Community Support Team _ Eason

Anonymous
Not applicable

Apparently @v-easonf-msft , I need to use the CONCATENATEX function in front of the values function to harvest all the values as advised above.

Thanks for assistance. Truly appreciate it.

lbendlin
Super User
Super User

Instead of SELECTEDVALUE() use FILTERS()

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.