Forum Discussion

GrahamR99's avatar
GrahamR99
Resolver I
8 years ago
Solved

Slicer Filter data from 2 different querys

Hello

I have a Slicer that filters on Product_Name, I have two maps one for sales and another for stock.

 

The Slicer is part of the sales data query, and it filters the map for the sales, however I have a Product_Name in my stock query, but it is not filtering on the stock map.

 

How do I get just one slicer to filter both maps?

 

Regards

 

GrahamR99

  • In Edit Queries, reference the Stock table and remove all columns leaving the Product column. Then remove duplicates from this column and close and apply. In the relationships view the Stock table and sales table should be linked on Product column.

3 Replies

  • jcarville's avatar
    jcarville
    Skilled Sharer

    You need to join the 2 tables. This could be done by creating a unique list of Product_Names and joining on that.

    • GrahamR99's avatar
      GrahamR99
      Resolver I

      Hello

      Can you provide the steps required to do so please?

       

      Regards

       

      GrahamR99

      • jcarville's avatar
        jcarville
        Skilled Sharer

        In Edit Queries, reference the Stock table and remove all columns leaving the Product column. Then remove duplicates from this column and close and apply. In the relationships view the Stock table and sales table should be linked on Product column.