Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Everyone,
Ive got interesting problem to solve and I would need help from anyone. I am aiming to use Force directed graph but the data structure is a problem.
I have dataset as following:
Order Number | Product Name | Sales Amount |
1234 | Product1 | 100 |
1234 | Product2 | 200 |
1234 | Product3 | 300 |
3333 | Product4 | 400 |
4444 | Product1 | 500 |
And this is data structure I need: (table below is all possible combinations of Product names and their sales if those two products belong to the same order)
Product Name | Product Name | Sales |
Product1 | Product2 | 300 (200+100) |
Product1 | Product3 | 400 (300+100) |
Product1 | Product4 | 0 (they dont have same Order number) |
Product1 | Product5 | 0 (they dont have same Order number) |
Thank you in advance!
Solved! Go to Solution.
Hi @MrMP ,
You could use merge queries feature to do it in query editor.
Here is my test file for your reference.
Hi @MrMP ,
You could use merge queries feature to do it in query editor.
Here is my test file for your reference.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |