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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
enrsshar
Regular Visitor

undefined

Hi everyone,

I’m working with two queries in Power BI:

  1. Completed MOs (Manufacturing Orders): This query gives me a list of completed manufacturing orders.
  2. Tooling Data: This query provides data related to tooling, which includes Manufacturing Order Numbers (MOs).

I’ve created a table combining both queries, but when I view the data, I can still see tooling values for non-completed MOs, even though I only want to display the values for completed MOs.

There is no specific "status" column in the Tooling Data query that shows whether an MO is completed or not. However, both queries contain the Manufacturing Order Number column, so I was hoping to filter the tooling data based on whether the MO exists in the Completed MOs list.

How can I filter the tooling data so that only the completed MOs are shown in the table, and the non-completed MOs are excluded?

Thanks in advance for your help!

1 ACCEPTED SOLUTION
Chew_WenJie
Resolver III
Resolver III

 

  • Solution 1: Instead of combining the two queries, you can link them using relationships. It should be a one-to-many relationship, where you select the MO number from the CompletedMO table and retrieve the details from the other table.

  • Solution 2: If you choose to merge the two queries, it should display only the completed MO numbers. The steps are:

    • Merge the queries based on MO numbers from both tables.
    • Chew_WenJie_0-1740014783508.png

       

    • Expand the merged table.
    • Chew_WenJie_3-1740014834079.png

       


       

    • This will ensure that only completed MO numbers and their corresponding details are shown.
    • Chew_WenJie_2-1740014819117.png

Hope it helps. 😁

 

 

View solution in original post

1 REPLY 1
Chew_WenJie
Resolver III
Resolver III

 

  • Solution 1: Instead of combining the two queries, you can link them using relationships. It should be a one-to-many relationship, where you select the MO number from the CompletedMO table and retrieve the details from the other table.

  • Solution 2: If you choose to merge the two queries, it should display only the completed MO numbers. The steps are:

    • Merge the queries based on MO numbers from both tables.
    • Chew_WenJie_0-1740014783508.png

       

    • Expand the merged table.
    • Chew_WenJie_3-1740014834079.png

       


       

    • This will ensure that only completed MO numbers and their corresponding details are shown.
    • Chew_WenJie_2-1740014819117.png

Hope it helps. 😁

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors