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 guys
I want to use Power BI to make a visualisation of a merge between many companies. For example, 5 companies will merge into just 1 company. Any idea how can I do that on Power Bi Desktop?
Thanks!
Solved! Go to Solution.
Hi @Anonymous ,
If the 5 companies are 5 separated columns in the same table, you might click on the 5 companies at the same time in Query Editor, then right click to choose "Unpivot Columns" option to combine these columns into one.
If the 5 companies are in 5 tables and you would like to have one separated company column, you might create new calculated table using DAX below.
New calculated Table = UNION(DISTINCT(Table1[compan1]),,, DISTINCT(Table5[compan5]))
If you need to merge 5 tables which contain 5 companies in each table, see how to merge: Append vs. Merge in Power BI and Power Query .
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
If the 5 companies are 5 separated columns in the same table, you might click on the 5 companies at the same time in Query Editor, then right click to choose "Unpivot Columns" option to combine these columns into one.
If the 5 companies are in 5 tables and you would like to have one separated company column, you might create new calculated table using DAX below.
New calculated Table = UNION(DISTINCT(Table1[compan1]),,, DISTINCT(Table5[compan5]))
If you need to merge 5 tables which contain 5 companies in each table, see how to merge: Append vs. Merge in Power BI and Power Query .
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |