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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Create a group

Hi I was wondeirng if there is a  measure that would allow me to make a group. For example I have a column called Titles and it consist of of 

 

Title

Associate 1

Associate 2

Associate 3

Associate 4

Senior Associate 

Senior Associate 2

Senior Associate 3

Senior Associate 4

 

I want to make the following group -Associate (Associate 1, Associate 2, Associate 3 & Associate 4). I'm using live data and am not able to create a group or any new columns. was wondeirng if there was a measure that would allow me to create the group. 

 

Thanks

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try to get it created at source as a column, you can not use measure in a slicer,

 

You can have measures like

 

Switch(True() ,

search("Associate", Max(Table[Title]), ,0)>0 , "Associate", "Senior" )

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Try to get it created at source as a column, you can not use measure in a slicer,

 

You can have measures like

 

Switch(True() ,

search("Associate", Max(Table[Title]), ,0)>0 , "Associate", "Senior" )

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!