Forum Discussion

PGAT's avatar
PGAT
Icon for Helper III rankHelper III
7 years ago

Combining data from two columns (origin and destination) into graph

Hi, just started in this space.  I've been a fan of pivot, power query, power pivot.  In my limited experience, i haven't been able to work around this problem.    

 

I have a huge table that tracks the number of shipments that went from one origin to one destination.  In order to track the number of shipments to, say, SYD,  I have to pivot first by Origin to get total number of shipments to SYD, and then i do the same pivot for Destination to get the number, and then sum up. 

 

With powerBI, i hope i do not have to pivot out two tables to sum up.  Please see my sample table in the link below

Sample table

 

I will be grateful if anyone can help me with this. 

 

 

Sincerely,

Patrick

2 Replies