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

Create new category type by adding two different category types

I have a category type which includes a whole lot of different types. For the dashboard, i need only two types, which i have chosen and restricted via a page filter. The category type has been added as a slicer. The two categories are “Cabin” and “Site”. I also want to have a category called “Combined” which is the addition of the two categories. I know that selecting both cabin and site will give the same answer but is it possible to have a new category type as well?

 

How can I create a new cateogory called "Combined" from the site and cabin?

1 ACCEPTED SOLUTION

@Anonymous ,

 

In the Format pane, click edit interaction and select one slicer, then there would be an "disable" icon in other slicers, click the "disable" icon. After that, the two slicers will have no interaction, you can combine different filter values as your requirement.

Capture.PNG 

 

Community Support Team _ Jimmy Tao

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

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Generally, you may create a calculate column using dax below to create the new category column:

Combined = [Cabin] & [Site]

Community Support Team _ Jimmy Tao

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

Anonymous
Not applicable

Hi Jimmy,

Thank you for your response. The thing is 'Cabin' and 'SIte' are values of the 'Category Type' column. I don't want to create a new calculated column as I want the three values, Canin, site and Combined to be used in one slicer. If iwas to create a calculated column as you had mentioend, then the combined value will site separately. Then bringing in Category Type with values cabinand site will be one slicer and Combined value will come from the calculated column and create another slicer.

At any given time, the end user should be able to choose only one value, cabin, site or combined. If there are two slicers, they work independently, unless there is a way to lock the slicer choice so that only one value can be chosen at a time from both slicers.


If there is a different apporach I could use, please let me know.

@Anonymous ,

 

In the Format pane, click edit interaction and select one slicer, then there would be an "disable" icon in other slicers, click the "disable" icon. After that, the two slicers will have no interaction, you can combine different filter values as your requirement.

Capture.PNG 

 

Community Support Team _ Jimmy Tao

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

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.