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

Grouping / summary feature?

Hi All, 

I am trying to replicate a feature from Tableau where I can group things together and give them a summary.

 

My data looks like this and for the different types of tasks I am looking to create a summary level "Service Delivery" & Back Office Admin

BarryRadio_0-1599478969044.png

I.e CRM is admin, Board Minutes are Service Delivery etc.. 

 

The only way I can thing I can think of is to:

 

1. create a new column

2. Use if statements to categorise it

 

This seems fairly clunky, just wondering if there is an elegant way of achieving this?

1 ACCEPTED SOLUTION
harshnathani
Community Champion
Community Champion

Hello @BarryRadio ,

You'll need to create a calculated column

You can use the SWITCH function.

Calculated column ??

SWITCH(

true(),

Table[Task] - "admin" Table[Task] - "Board Meeting", "CRM",

Table[Task] to "XXXX" , "Board"

)

Best regards
Harsh Nathani
Have I answered your question? Mark my position as a solution! Appreciate with a Kudos!! (Click the Thumbs button above)

View solution in original post

2 REPLIES 2
harshnathani
Community Champion
Community Champion

Hello @BarryRadio ,

You'll need to create a calculated column

You can use the SWITCH function.

Calculated column ??

SWITCH(

true(),

Table[Task] - "admin" Table[Task] - "Board Meeting", "CRM",

Table[Task] to "XXXX" , "Board"

)

Best regards
Harsh Nathani
Have I answered your question? Mark my position as a solution! Appreciate with a Kudos!! (Click the Thumbs button above)

amitchandak
Super User
Super User

@Anonymous , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

You can use an simply put any column in table visual you will get distinct value.

You can put a text column and value column with aggregation, you will get aggregated data

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.