Forum Discussion

Kannan4444's avatar
Kannan4444
Icon for Helper I rankHelper I
4 years ago
Solved

Load and discharge in one chart

Hey Guys, i need to the load and discharge for a "Antwerp" in a combined chart. is it possible?

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Kannan4444 ,

     

    Suppose we have a table like this.

    We can make two copies in the Power Query Editor and remove unnecessary columns to obtain two fact tables.

    DimPort table.

    Relationships.

    Attached PBIX file for reference.

     

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly -- How to provide sample data

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi

     

    Depends on how you build you model.

     

    Can you provide a print screen of it?

    • Kannan4444's avatar
      Kannan4444
      Icon for Helper I rankHelper I

      Example Antwerp: Exported 100 and Imported 80

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi

         

        You may need to transform your table. One way you can do it is to transform it into two fact tables tables, like "Load Table" and "Discharge Table" with a relation with a port table

         

        something like this

         

         

        Then in the clusterd chart you can provide the Port name in the X axis and provide the Load Amount and the Discharge amount in the Y Axis.

         

        That should provide what you are looking for.

         

        Kind regards,
        José
        Please mark this answer as the solution if it resolves your issue.
        Appreciate your kudos! 🙂