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

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.

Reply
Anonymous
Not applicable

Group by Column values (Count)

Hi , Please I have a Table in this format(FROM) and I will like to count it and group up in this format(TO), is this a

modelling issues . I tried to use a matrix but it will only work for a column. Thanks

image.png

2 ACCEPTED SOLUTIONS
Washivale
Resolver V
Resolver V

Hello @Anonymous ,

 

This would be easier if you can unpivot columns in edit query,

Select columns and click Unpivot Columns option under Transform menu in edit queries, this will change your dataset in preferred format for your visualization

 

Capture2.PNG

let me know if it helps.

 

Thank You,

Washivale

View solution in original post

jtownsend21
Responsive Resident
Responsive Resident

I believe what you need to do is unpivot your data. 

 

This can be achieved by using the query editor and selecting unpivot columns in the transform tab. (See below) 

Capture.PNG

 

After this you may need to rename some of the columns, but the when you have this done, You can throw the corresponding columns into a matrix. 

View solution in original post

3 REPLIES 3
jtownsend21
Responsive Resident
Responsive Resident

I believe what you need to do is unpivot your data. 

 

This can be achieved by using the query editor and selecting unpivot columns in the transform tab. (See below) 

Capture.PNG

 

After this you may need to rename some of the columns, but the when you have this done, You can throw the corresponding columns into a matrix. 

Washivale
Resolver V
Resolver V

Hello @Anonymous ,

 

This would be easier if you can unpivot columns in edit query,

Select columns and click Unpivot Columns option under Transform menu in edit queries, this will change your dataset in preferred format for your visualization

 

Capture2.PNG

let me know if it helps.

 

Thank You,

Washivale

Anonymous
Not applicable

Thanks

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.