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
Degraf
New Member

How to rename filter sections?

Hello, 

I am really new to working with PowerBI. 

So I have an excel table which is connected to PowerBI and shown as a filter on my PowerBI Desktop. Now I would like to rename the various, yellow marked categories of my filter, without renaming them in excel. 

Degraf_1-1665656398192.png

is this possible? If yes, how?

 

Thank you very much!

 

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Degraf ,

 

The easiest way to do this is to create a calculated column and then filter out the row values you want to change. The rows that do not need to be changed are left as they are.

Refer to the following formula.

vhenrykmstf_0-1666239890560.png

new_slicer =
IF (
    'Table'[Category] = "A",
    "a-1",
    IF (
        'Table'[Category] = "B",
        "b-1",
        IF ( 'Table'[Category] = "E", "e-1", 'Table'[Category] )
    )
)

vhenrykmstf_1-1666240074478.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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-henryk-mstf
Community Support
Community Support

Hi @Degraf ,

 

The easiest way to do this is to create a calculated column and then filter out the row values you want to change. The rows that do not need to be changed are left as they are.

Refer to the following formula.

vhenrykmstf_0-1666239890560.png

new_slicer =
IF (
    'Table'[Category] = "A",
    "a-1",
    IF (
        'Table'[Category] = "B",
        "b-1",
        IF ( 'Table'[Category] = "E", "e-1", 'Table'[Category] )
    )
)

vhenrykmstf_1-1666240074478.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

JorgePinho
Solution Sage
Solution Sage

This will require some effort but you can edit them one by one in the Power Query Editor. Just use the "Replace Values" option in the column and change them one by one.

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.