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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Prima_
Resolver I
Resolver I

How to retrieve a value from a table by passing a measure value

Hi, 

 

I find 'Most used product' ([Sub_Product Name]) using a measure from the values in Product Table.
I need to find out if the stock is available ([AvailableOrNot]) for this Sub_Prodcut from another table 'Stock'.

 

Here's the scenario:

Product Table has
[Product Name], [Sub_Product Name]
A A1
A A2
A A3
B B1
...

Stock Table has

[Product Name] [Sub_Product Name] [AvailableOrNot]
A A1 Not Available
A A2 Available
A A3
B  B1

...

Let's say, the Most used product is A2 ----> This is displayed in a Card Visual.
I want to show AvailableOrNot in another Card Visual.
How to write a measure to retrieve 'Stock'[AvailableOrNot] field from Stock Table where 'Stock'[Sub_Product Name] = [Most used product]

 

Thank you.

1 ACCEPTED SOLUTION
Prima_
Resolver I
Resolver I

I used 

Prima__0-1680681570751.png

It worked. Will test somemore. Thanks

 

View solution in original post

1 REPLY 1
Prima_
Resolver I
Resolver I

I used 

Prima__0-1680681570751.png

It worked. Will test somemore. Thanks

 

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors