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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
vazmor
Helper II
Helper II

Slicer base on column base on slicer

 

How can you do the following ?, I have a table with 4 columns "Table2" and I want to have a slicer of the table3 with the countries and when selecting "UK", I load in a slicer the data of the UK column of the Table2

 

https://drive.google.com/file/d/0Bz_yJn-MHA2oNjBHRzBnbUVSZk0/edit

3 REPLIES 3
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @vazmor,

If my understanding is right, you want to display the UK column's value when you select "UK" in slicer, right? If it is, please create a measure using the formula below.

different country's value = SWITCH(SELECTEDVALUE(Table3[Country]),
	"UK", MAX(Table2[UK]),
	"Chinese",MAX(Table2[Chinese]),
	"US",MAX(Table2[US]))


You will get the expected result as follows.

Select ChineseSelect ChineseSelect UKSelect UK
Please download the attachment to review more details.

Best Regards,
Angelia

hello, what I need is that the country slicer generates another slicer with the data of the country column, as well as in the image and that in addition that slicer serves me to filter the table.

Sin título.png

Hi @vazmor,

I got it now. Until now, we can't achieve your requirement in Power Bi desktop. You can create an idea here.

Best Regards,
Angelia

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors
Top Kudoed Authors