Forum Discussion

skurupudilowes's avatar
skurupudilowes
Regular Visitor
2 years ago
Solved

Connecting a slicer to multiple parameters

Hi,

 

My current dashboard looks like this. I have 2 field parameters with different field values, but same text. They are connected to their respective visuals.

I want to replace the parameters, with a slicer, with 'BA', 'Division' values etc. And if I select 'BA' in the slicer, it should select the 'BA' parameter value in the 2 parameters. Can someone help how I can achieve this? Thanks.

 

 

Anonymous amitchandak  Greg_Deckler Please help

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi, skurupudilowes 

    I'm happy to answer your questions. We can use Sync slicer to select two slicers with the same parameters at the same time.

    The following is a slicer with two parameters:

    We click view>>Sync Slicer:

    When we select income, another parameter slicer will also be selected at the same time:

    I have provided my PBIX file below. If this helps you, that would be great.

     

     

     

     

    How to Get Your Question Answered Quickly

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

    Best Regards

    Jianpeng Li

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

2 Replies

  • 123abc's avatar
    123abc
    Icon for Community Champion rankCommunity Champion

    To connect a slicer to multiple parameters in your dashboard, you can use Power BI (assuming that's the tool you're using). Here's how you can achieve this:

    1. Create a Slicer: First, create a slicer with the values 'BA', 'Division', etc.

    2. Modify Parameters: You need to modify your existing parameters to be driven by the slicer selection.

    3. Edit Queries (Optional): If necessary, you might need to adjust your data model or queries to accommodate the changes.

    Here's a step-by-step guide:

    1. Create a Slicer

    • Go to your Power BI report.
    • Click on the slicer visualization icon in the Visualizations pane.
    • Add the fields 'BA', 'Division', etc. to the slicer.

    2. Modify Parameters

    • Go to "Modeling" tab.
    • Select "New Parameter" from the ribbon.
    • Create a new parameter for 'BA' and another for 'Division' if they don't already exist.
    • Make sure the parameter names match the field names exactly.

    3. Connect Slicer to Parameters

    • Click on the slicer visualization.
    • In the "Visualizations" pane, find the "Slicer" section.
    • Under "Fields", drag the fields (e.g., 'BA', 'Division') from your dataset onto the "Slicer" section.
    • Power BI automatically updates the parameters based on the slicer selection.

    4. Update Visuals

    • For each visual that uses the parameters, ensure they are linked to the parameters.
    • Click on the visual.
    • In the "Visualizations" pane, find the "Fields" section.
    • Drag the corresponding parameter to the appropriate field in your visual.

    5. Test

    • Test the slicer by selecting different values.
    • Ensure that visuals update accordingly based on the slicer selection.

    By following these steps, you should be able to replace your parameters with a slicer and have it update the visuals based on the slicer selection. Make sure to save your report after making these changes.

     

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

     

    In case there is still a problem, please feel free and explain your issue in detail, It will be my pleasure to assist you in any way I can.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi, skurupudilowes 

    I'm happy to answer your questions. We can use Sync slicer to select two slicers with the same parameters at the same time.

    The following is a slicer with two parameters:

    We click view>>Sync Slicer:

    When we select income, another parameter slicer will also be selected at the same time:

    I have provided my PBIX file below. If this helps you, that would be great.

     

     

     

     

    How to Get Your Question Answered Quickly

    If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

    Best Regards

    Jianpeng Li

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