Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

One date slicer from several queries/fields

Hello,

I have a Power BI report with three visuals that I'd like to apply one date slicer to.

The three visuals are populated by three separate fields/queries and each of these have a date column which display dates but these dates are different in each as they cover different stages of the project.

Is it possible to create a date slicer from these three different date ranges and apply it to the three visuals? 

Many thanks.

 

 

  • In Power Query, create a new date "Fact Table" from the three original tables, which contains only date (deduped). 

    Go back to Desktop, Model View, and set up relationships between the Fact Table and each of the three other tables. 

    Create a date slicer using the new Fact Table. 

    Providing the interactions are correct on your report tile, selecting a date from the new slicer should update everything else. 

4 Replies

  • In Power Query, create a new date "Fact Table" from the three original tables, which contains only date (deduped). 

    Go back to Desktop, Model View, and set up relationships between the Fact Table and each of the three other tables. 

    Create a date slicer using the new Fact Table. 

    Providing the interactions are correct on your report tile, selecting a date from the new slicer should update everything else. 

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks, yes I'm just starting now and seems to let me link them regardless of title. 

  • Anonymous's avatar
    Anonymous
    Not applicable

    Thanks AndrewPF 

     

    When I go to set up the relationships, do the date columns need to be the same name across all of the tables to be connected or can I link date columns regardless of their names? 

    Thanks