The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello team,
I am trying to create Sankey Diagram in Power BI Service.
Here is the sample data
Source | Revenue | Expenses & Profit | Departments | Categories | Amount |
Services | Revenue | Expenses | Managerial | Training Sessions | 10,000 |
Services | Revenue | Expenses | Managerial | Office rental | 16,000 |
Services | Revenue | Expenses | Managerial | Wages | 9,400 |
Services | Revenue | Expenses | Commercial | Wages | 11,300 |
Product Sales | Revenue | Expenses | Commercial | Travel allowance | 10,000 |
Product Sales | Revenue | Expenses | Commercial | Advertising | 12,000 |
Product Sales | Revenue | Expenses | Production | Material Payment | 25,000 |
Product Sales | Revenue | Expenses | Production | Loan Payment | 8,500 |
Product Sales | Revenue | Expenses | Production | Wages | 19,500 |
Loans | Revenue | Gross Profit | Taxes | 11,000 | |
Loans | Revenue | Gross Profit | Net Profit | 13,000 |
I explored Microsoft Sankey diagram. It accepts data in a specific format. It means, i have to transform my data to what Sankey diagram accepts. Is there any easy way to do it which could accept the data in a tabular format as i shown above or if anyone can suggest any mechanism which i can use to automatically tranform my data to the format accepted by Microsoft Sankey Diagram?
Any help would be highly apcreciated.
Thanks
I recently encountered a similar issue and found a solution with this Power BI visual from the Microsoft Store.
https://appsource.microsoft.com/en-us/product/power-bi-visuals/visio-chart.sankey_diagram_visiochart
I was recently trying to figure out a similar kind of issue. I ended up with the following Power BI visual on Microsoft Store.
I hope it will help.
Hi jashraf,
Thank you for shairing your findings. i will give it a try and share how it goes.
Hi @ScottJW ,
TO convert your tabular format into the Sankey accepted format, you can unpivot your data. And, you will probably have to aggregate the data as well... but, the unpivot is your first step.
Proud to be a Datanaut!
Private message me for consulting or training needs.
Hi Collinq,
Let me give it shot and see if it could work for me. Thank you for the support.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
55 | |
26 | |
14 | |
14 | |
12 |
User | Count |
---|---|
106 | |
39 | |
28 | |
22 | |
22 |