Forum Discussion

3 Replies

  • MattAllington's avatar
    MattAllington
    Community Champion

    I must be missing something. Slicers can take text or numbers. Remove the number column and add the name column. 

  • v-robertq-msft's avatar
    v-robertq-msft
    Community Support

    Hey, @sam_powerbi

    According to your requirement, I guess you want to use a slicer to cut the column name, you can try despivot columns in the power query editor, you can follow my steps:

    1. Open the Power Query Editor, click "Ctrl" and select in all three columns and click despivot columns, like this:

    v-robertq-msft_0-1603779478672.png

    1. You can then get a table like this, click Apply and Close

    v-robertq-msft_1-1603779478675.png

    1. Create a table chart, place [Attribute] and [Value], create a slicer, place [Attribute], and you can get what you want, like this:

    屏幕截图 2020-10-27 141946.png

    You can download my test pbix file here

    Learn more about this case

    Best regards

    Qin Community Support _Robert Team

    If this post helps,then consider Accepting it as the solution to help other members find it faster.