Forum Discussion

bbbbi01's avatar
bbbbi01
Helper II
2 years ago
Solved

Text filter field adding more values

Hi! I have a text filter but in its field section, I can only drag in "county". Is there a way to put in more values? For example, I can search county, zip code and city at the same time. Thanks!

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi bbbbi01

     

    Please try this:
    First of all, I create a set of sample data: 

    Home > Transform data >Select the Column 1 and Column 2(county, zip code and city...) > Transform > Unpivote Columns > apply&close

    The result is as follow:

    If the above one can't help you, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

    How to provide sample data in the Power BI Forum

    How to Get Your Question Answered Quickly

    And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

    How to upload PBI in Community

    Best Regards

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

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi bbbbi01

     

    Please try this:
    First of all, I create a set of sample data: 

    Home > Transform data >Select the Column 1 and Column 2(county, zip code and city...) > Transform > Unpivote Columns > apply&close

    The result is as follow:

    If the above one can't help you, could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

    How to provide sample data in the Power BI Forum

    How to Get Your Question Answered Quickly

    And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

    How to upload PBI in Community

    Best Regards

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

    • bbbbi01's avatar
      bbbbi01
      Helper II

      Thank you for sharing! It's helpful and i appreciate the step-by-step guide. I tried it and i think it created a new column named "attribute". It actually affected my map as now there's no city and zip code column. 

  • PijushRoy's avatar
    PijushRoy
    Community Champion

    Hi bbbbi01 

    Yes, you can
    You should insert State, ZIP in Slicer Field
    Slicer will work like Hirerchical Slicer
    Then you can search for State, ZIP etc



    Let me know if that works for you


    If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.

    Thanks
    Pijush
    Linkedin

    • bbbbi01's avatar
      bbbbi01
      Helper II

      Thank you for your answer. But I'm not using the slicer. I just used the Text filter so i cannot insert multiple values.