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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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