Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

filter

Hello,
I am using directquery to pull data using sql
The sql returns a table with fields:

tblFact
pCode DateKey field3...

There are two slicers on the power bi page. One for pCode and the other for DateKey which is integer value

When a pCode is selected in the slicer then the tblFact is filtered accordingly. But it seems the DateKey slicer does not have any affect on the filtering of the tblFact

Any suggestions?

Thank you

  • Hi Anonymous ,

     

    I guess you have this issue.

    When you select two fields from the same table as slicers, the interaction between the two slicers is turned off by default. You can enable the interaction in edit interaction.

    When the interaction is turned off , maybe when you select pcode, but the datekey filter is not synchronized, it will cause you to select datekey without affecting tblfact.

     

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

     

3 Replies

  • Anonymous   don't know why that would be the case, can you make sure you are using datekey from the fact table, if you using it from date dimension, make sure it has a relationship with the fact table.

     

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

    Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.

  • V-lianl-msft's avatar
    V-lianl-msft
    Community Support

    Hi Anonymous ,

     

    I guess you have this issue.

    When you select two fields from the same table as slicers, the interaction between the two slicers is turned off by default. You can enable the interaction in edit interaction.

    When the interaction is turned off , maybe when you select pcode, but the datekey filter is not synchronized, it will cause you to select datekey without affecting tblfact.

     

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

     

  • V-lianl-msft's avatar
    V-lianl-msft
    Community Support

    Hi Anonymous ,

     

    Is this problem sloved?
    If not, please let me know.

     

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