Match Information and create a new table

  • Match Information and create a new table

    Posted by DSC Communities on April 23, 2020 at 3:37 pm
    • Paulo Vitor Fonseca

      Member

      April 23, 2020 at 3:37 PM

      I would like to create a new table to compare the “on time delivery” performance of suppliers, using a database of purchase orders, and another database of goods received, and the PO number & Line to match these information.

      My idea is to have a new table with the following data

      PO Number
      Scheduled Delivery Date
      Delivery Date
      OTD ok? Conditional = Yes/No

      Then, I can measure the % of orders delivered on time.

      Someone can help me?

      ——————————
      Paulo Vitor Fonseca

      ——————————

    • Cekou C.

      Member

      April 24, 2020 at 3:31 AM

      Hi Paulo,

      You can achieve this in a couple of ways :

      1) Power Query: Merge Queries (Join kind: Left Outer Join)Ā 
      Check this blog for more information

      2) Using a mix of ADDCOLUMNS and INTERSECT functions in DAX

      INTERSECT returns an entire table or a table with one or more columns. A table that contains all the rows in LeftTable that are also in RightTable.
      More about INTERSECT here.

      Regards,

      ——————————
      Cekou C.
      Accounting Supervisor & PBI Enthusiast
      ——————————
      ——————————————-

    • Christopher Schnaars

      Member

      April 24, 2020 at 7:17 AM

      Hi, Paulo:

      You should be able to do this without creating a new table, if the relationships in your report link purchase orders and goods received by PO Number. In that case, you could do a simple count of orders where delivery date <= due date and divide that by total orders.

      Good luck!

      ——————————
      Christopher Schnaars
      Laboratory Testing Inc.
      Hatfield, Pennsylvania
      ——————————
      ——————————————-

    DSC Communities replied 5 years, 11 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

The discussion ‘Match Information and create a new table’ is closed to new replies.

Start of Discussion
0 of 0 replies June 2018
Now

Welcome to our new site!

Here you will find a wealth of information created for peopleĀ  that are on a mission to redefine business models with cloud techinologies, AI, automation, low code / no code applications, data, security & more to compete in the Acceleration Economy!