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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors