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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Lookup same value

Hi all,

 

Want to ask your opinion, how can I get the same value of "Next Inspection Date" into the 3rd row since the "Production Batch" are same.

 

I already try lookupvalue method: lookupvalue(next inspection date,production batch,production batch) but it show error.

 

nuhasan_0-1649668633867.png

 

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

Hi @Anonymous ,

According to your description, here's my solution.

1.Right-click the table, select Copy.

vkalyjmsft_0-1649904370193.png

2.Right-click in empty space in the Queries area, select Paste.

vkalyjmsft_1-1649904409144.png

3.In the new table, in Next inspection date column, select Remove Empty.

vkalyjmsft_2-1649904687047.png

4. Click Production Batch and Next inspection date columns at the same time (Ctrl+click), right-click and select Remove Duplicates.

vkalyjmsft_3-1649904824396.png

5.Select Table, then click Merge Queries.

vkalyjmsft_4-1649905045710.png

Set it like this:

vkalyjmsft_5-1649905126936.png

6.Expand the new column and only select Next inspector date.

vkalyjmsft_6-1649905184977.png

7.Get this table.

vkalyjmsft_7-1649905286256.png

Then remove the Next inspector date column and rename the Table(2).Next inspector date, get the expected result.

vkalyjmsft_8-1649905369509.png

I attach the 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

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

According to your description, here's my solution.

1.Right-click the table, select Copy.

vkalyjmsft_0-1649904370193.png

2.Right-click in empty space in the Queries area, select Paste.

vkalyjmsft_1-1649904409144.png

3.In the new table, in Next inspection date column, select Remove Empty.

vkalyjmsft_2-1649904687047.png

4. Click Production Batch and Next inspection date columns at the same time (Ctrl+click), right-click and select Remove Duplicates.

vkalyjmsft_3-1649904824396.png

5.Select Table, then click Merge Queries.

vkalyjmsft_4-1649905045710.png

Set it like this:

vkalyjmsft_5-1649905126936.png

6.Expand the new column and only select Next inspector date.

vkalyjmsft_6-1649905184977.png

7.Get this table.

vkalyjmsft_7-1649905286256.png

Then remove the Next inspector date column and rename the Table(2).Next inspector date, get the expected result.

vkalyjmsft_8-1649905369509.png

I attach the 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.

Anonymous
Not applicable

Hi @v-yanjiang-msft ,

 

Thank you for your solution. It solved my issue.

 

Regards,

Nuha

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.