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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Misguidedghost_
New Member

return values in a column based on a slicer

Hello everyone; 

 

I am a beginner in Power BI and need help with a measure. 

 

So I have a table of this type : 

 

General IDSpecifid ID Product Type 
A201ATA01Hair
B206BTA06Skin
A201ATA02Eye
C202BTA02Lips

 

I need to create a table that will return values depending on a slicer on my General ID. So if my slicer is on A201, I need to return : 

Specifid ID Product Type 
ATA01Hair
ATA02Eye

 

I already created a diconnect table with only values of my  General Id column to turn it into a slicer, but then i can't find the measure - using selectedvalue - to return the right values in Specific ID and Product Type columns. 

Can you please help me please ? 

 

Regards 

1 ACCEPTED SOLUTION
Shaurya
Memorable Member
Memorable Member

Hi @Misguidedghost_,

 

No need to create any additional table. Your work can be done by using just a slicer and a table visual. Insert a table visual and pull in Specified ID and Product Type as columns in it. Then add a slicer and use General ID in it.

 

Result:

 

Screenshot 2022-10-10 041253.jpg

 

Screenshot 2022-10-10 041513.jpg

 

Works for you? Mark this post as a solution if it does!

View solution in original post

2 REPLIES 2
Shaurya
Memorable Member
Memorable Member

Hi @Misguidedghost_,

 

No need to create any additional table. Your work can be done by using just a slicer and a table visual. Insert a table visual and pull in Specified ID and Product Type as columns in it. Then add a slicer and use General ID in it.

 

Result:

 

Screenshot 2022-10-10 041253.jpg

 

Screenshot 2022-10-10 041513.jpg

 

Works for you? Mark this post as a solution if it does!

Hello @Shaurya 


Thank you for your response, it works verry well ! 

 

Have a good day 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.