Forum Discussion

walkery's avatar
walkery
Helper I
8 years ago

Date Slicer across multiple tables same Page

Hi All, I have 2 different tables within my PowerBI report that I've used to create 2 seperate visuals on the same page. I'd like to now add a date slicer onto the page that filters both visuals. I read on another post that I'd need to create a relationship between the 2 tables, so I created a date table, dimDate and created a relationship between both tables to that dimDate table and then created a slicer on the dimDate date field. However nothing happens when I change the date parameters. Any ideas of what I'm doing incorrectly? Screenshots below of the relationships I've created, I assume the issue is with that...? 

 

 

7 Replies

  • Does your DimDate Table have corresponding rows for the days in your fact table?

    • walkery's avatar
      walkery
      Helper I

      Hi MauriceMecowe, yes the dimdate table has everyday from 1/1/2000 - 12/31/2020 just to be safe :) the dates of my fact table are only from 2015 - 2018 YTD so it should definitely have the corresponding rows. 

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi walkery

         

        Check the cross filter direction. The filter direction should flow from DimDate table to Fact table 1 and DimDate table to Facttable 2.

         

        Thanks
        Raj

  • v-yulgu-msft's avatar
    v-yulgu-msft
    Microsoft Employee

    Hi walkery,

     

    Please set the "Cross Filter direction" to "Both" for both relationships and test again if it works.

     

    Besides, please make sure the "Edit interaction" option is turned on.

     

    Best regards,

    Yuliana Gu