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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Group Slicer into One Button

Hey guys!
I have a slicer that is related with Companies. It's a Lead origin dashboard.

I have N numbers of each item. 

safra - Power BI Desktop.jpg

So I need to "group" the first 4 items to one button/radio button and the last item to other radio button.

 

I've tried to create a new table with DAX but as a newbie, no success 😞

Any tips? 😄

Thanks!

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

Hi @Anonymous ,

 

Based on your description, you can create a calculated column as follows.

Here is my test table.

v-yuaj-msft_0-1607475944127.png

 

category = IF('Table 4'[Column1] in {"A","B","C","D"},"X",[Column1])

 

Result:

v-yuaj-msft_1-1607475944131.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

2 REPLIES 2
v-yuaj-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on your description, you can create a calculated column as follows.

Here is my test table.

v-yuaj-msft_0-1607475944127.png

 

category = IF('Table 4'[Column1] in {"A","B","C","D"},"X",[Column1])

 

Result:

v-yuaj-msft_1-1607475944131.png

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

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

Anonymous
Not applicable

I really love you  ❤️

 

Thanks a lot!!! 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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