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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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