Forum Discussion

3508026's avatar
3508026
Icon for Helper II rankHelper II
6 months ago
Solved

Slicer for filtering several columns

Hello, I need to create slicer for filtering the data that are in different columns: - Slicer for filtering the view: The optiona are in different columns. - Slicer for filtering the metric: The o...
  • hnguy71's avatar
    hnguy71
    6 months ago

    Hi 3508026 

    Yes, you can use field parameters. Although, not really ideal but it's possible.

     

    1. On the ribbon bar, under MODELING select 'New Parameter' and then select 'Fields'

       

    2. Create a name for your parameter, for example, 'View' and add all the fields you want to be part of that parameter.
    3. Repeat for as many different parameters you may need or have. Then, if you don't have 'View Hidden' on your model enabled already, for each of those new parameters, right click the table, and click 'View Hidden'

       

    4. Finally, drop the 'Fields' column to any of your visual(s).

     

     

    I have attached a sample pbix file for you: