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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
robertosangi
Helper I
Helper I

Lookup value from a table

Hi guys, 

 

I have a simple problem that I'm not able to solve.

I need to lookup all values present in the row which have "Totale complessivo". 

robertosangi_0-1646146578929.png

So if I need for example the number from the column "CaseTOT" I want to receive 301 as a value.

It is possible? Thank you

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @robertosangi ,

According to your description, here's my solution.

Create a measure.

Measure = LOOKUPVALUE('Table'[CaseToT],'Table'[Fast Progetto],"Totale complessive")

Get the expected result.

vkalyjmsft_0-1646387149665.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @robertosangi ,

According to your description, here's my solution.

Create a measure.

Measure = LOOKUPVALUE('Table'[CaseToT],'Table'[Fast Progetto],"Totale complessive")

Get the expected result.

vkalyjmsft_0-1646387149665.png

I attach my sample below for reference.

 

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@robertosangi , the purpose of lookup ?

 

Like , we can have a measure

calculate(sum(Table[CaseTOT]) , filter(Table, Table[Face protego] = "Totale complessivo"))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak ,

 

I don't need to sum. I need only to pick the corresponding value of the cell of the column which corresponds to the row having "Totale complessivo".

As you show, it din't give me the value I needed.

In the example, how can I catch the vale 301 refering to the "Totale complessivo" row?

Thanks

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.