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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Rayvia
Frequent Visitor

Categorize for treemap

Hey Guys,

 

i have a table with different categories(see Picture 1)

 

Categories of Member-Table:

picture 1picture 1

 

everytime a Entry fits a category the category gets marked.

I want to create a function that writes the name of the Attribute for every "x" in that column. To make a Treemap out of it.

Lets say this Table in Picture 1 has 31 Entrys everything i tried leads to a total amount of 31, but obviously since there can be more than one category for each Entry the total amount in this case should be close to 60.

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @Rayvia 

Do you want to get the list of all entry out of the category in your table? I think you mark the entry out of the category by "X".

My Sample:

1.png

Select Name column and use Unpivot Other Columns in Power Query. Then we can get a list with all name with "X". Remove Value column.

3.png

Then we can use this new table to build a treemap out of it.

3.png

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

View solution in original post

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

Hi @Rayvia 

Do you want to get the list of all entry out of the category in your table? I think you mark the entry out of the category by "X".

My Sample:

1.png

Select Name column and use Unpivot Other Columns in Power Query. Then we can get a list with all name with "X". Remove Value column.

3.png

Then we can use this new table to build a treemap out of it.

3.png

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.