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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Miss_A
Regular Visitor

Check Missing ID

I have the client ID are multiple source such as 9995-0001,9995-0002,9996-0001, 9996-0002, 9997-0001, 9997-0002. So, I want to check missing ID in which location. How to?

2 ACCEPTED SOLUTIONS
v-stephen-msft
Community Support
Community Support

Hi @Miss_A ,

 

You can use your existing table in Power Query to create a combined table and then merge them. After the merge, the null in the expansion is the Missing ID and the corresponding location.

Here's an example.

Table (1) is the main table.

vstephenmsft_1-1695970942952.png

1.Copy the primary table, and then remove the columns and remove the duplicate rows to get the unique location column.

vstephenmsft_2-1695971028792.png

2.The same operation yields Table (3).

vstephenmsft_3-1695971175786.png

 

3.Add a custom column in Table (2) to reference the Table (3).

vstephenmsft_4-1695971214275.png

 

4.Expand it and then merge with the main table.

vstephenmsft_5-1695971263219.pngvstephenmsft_6-1695971271860.png

vstephenmsft_7-1695971280776.png

 

5.This is the final result.

vstephenmsft_8-1695971357692.png

 

Best Regards,

Stephen Tao

 

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

Miss_A
Regular Visitor

2 REPLIES 2
Miss_A
Regular Visitor

Thank you.

v-stephen-msft
Community Support
Community Support

Hi @Miss_A ,

 

You can use your existing table in Power Query to create a combined table and then merge them. After the merge, the null in the expansion is the Missing ID and the corresponding location.

Here's an example.

Table (1) is the main table.

vstephenmsft_1-1695970942952.png

1.Copy the primary table, and then remove the columns and remove the duplicate rows to get the unique location column.

vstephenmsft_2-1695971028792.png

2.The same operation yields Table (3).

vstephenmsft_3-1695971175786.png

 

3.Add a custom column in Table (2) to reference the Table (3).

vstephenmsft_4-1695971214275.png

 

4.Expand it and then merge with the main table.

vstephenmsft_5-1695971263219.pngvstephenmsft_6-1695971271860.png

vstephenmsft_7-1695971280776.png

 

5.This is the final result.

vstephenmsft_8-1695971357692.png

 

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors