Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
acg
Resolver I
Resolver I

Creating Sunburts

I like to create a smiple sunburts in PowerBI like it is possible in xls: 

 20202019
one Area21
two Areas14
three Areas12
more than three10
total n57

acg_0-1649745605371.png

I inserted the above data in Power BI like this

acg_1-1649745776888.png

I imported the Sunburst by MAQ Software, but have problems in understanding how to create this with the above data:

Is it possible to create the same chart like with xls?

I don't understand how I need to change the data input above and what the measure is going to be?

acg_2-1649746689706.png

 

 

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

@acg  You need to unpivot your raw data first. 

 

In Power Query (click Transform Data in the Home tab in Power BI to open Power Query), select the 'Year' column and in the Transform tab click 'Unpivot OTHER columns'

 

Then Close and apply changes. 

 

Put [Year] in Category, [Attribute] in SubCategory, and [Value] in Measure.


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

4 REPLIES 4
serpiva64
Super User
Super User

Hi,

i don't know if it is possible

i obtained this if it is worth

 

serpiva64_0-1649750408487.png

 

AllisonKennedy
Super User
Super User

@acg  You need to unpivot your raw data first. 

 

In Power Query (click Transform Data in the Home tab in Power BI to open Power Query), select the 'Year' column and in the Transform tab click 'Unpivot OTHER columns'

 

Then Close and apply changes. 

 

Put [Year] in Category, [Attribute] in SubCategory, and [Value] in Measure.


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Excellent @AllisonKennedy I will have a look how to be able to change individual colours of the different areas. But thina you so much to get me here. 

amitchandak
Super User
Super User

@acg , based on what I got.  I think you need to unpivot the table. Both Area and Year on rows. That can be used as a category and sub-category

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.