cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wecks Frequent Visitor
Frequent Visitor

Lookups

I have a report that has two tables. One of the tables has a column called PCNAME in the other table there is PC spec. I want to do a lookup on the spec column on table 2 where the PCNAME is the same. Can i do a lookup?
2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Wecks Frequent Visitor
Frequent Visitor

Re: Lookups

No Worries I Found the answer.  If anyone else is after somethign similar please see below. 

 

LOOKUPVALUE(Result_ColumnName, Search_ColumnName1, Search_Value1)

Here,

  • Result_ColumnName = Name of the column which you want to show as an end result. In our case, we want to display the name of the Country from Master table.
  • Search_Column1 = Name of the column from where you want to find your keyword/string. In our case, we want to search the value of State from Master table.
  • Search_Value1 = Name of the column or value which you want to use as LookUpValue search. In our case, we want to search for the state in Employee Information table.

In short, State from the Employee Information table will look into State from Master table and d

View solution in original post

Community Support Team
Community Support Team

Re: Lookups

@Wecks,

 

You may also use Merge Queries (Table.NestedJoin) in Query Editor.

Community Support Team _ Sam Zha
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

4 REPLIES 4
Highlighted
Wecks Frequent Visitor
Frequent Visitor

Re: Lookups

No Worries I Found the answer.  If anyone else is after somethign similar please see below. 

 

LOOKUPVALUE(Result_ColumnName, Search_ColumnName1, Search_Value1)

Here,

  • Result_ColumnName = Name of the column which you want to show as an end result. In our case, we want to display the name of the Country from Master table.
  • Search_Column1 = Name of the column from where you want to find your keyword/string. In our case, we want to search the value of State from Master table.
  • Search_Value1 = Name of the column or value which you want to use as LookUpValue search. In our case, we want to search for the state in Employee Information table.

In short, State from the Employee Information table will look into State from Master table and d

View solution in original post

Community Support Team
Community Support Team

Re: Lookups

@Wecks,

 

You may also use Merge Queries (Table.NestedJoin) in Query Editor.

Community Support Team _ Sam Zha
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

Wecks Frequent Visitor
Frequent Visitor

Re: Lookups

I am intrigued on how this would work i dont suppose you have a small simple example i could peruse? Many thanks. Andy
Community Support Team
Community Support Team

Re: Lookups

@Wecks,

 

Take a look at link below.

https://docs.microsoft.com/en-us/power-bi/desktop-shape-and-combine-data#combine-data

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Top Kudoed Authors
Users Online
Currently online: 75 members 1,204 guests
Please welcome our newest community members: