Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Powerbinic
New Member

How to use 1 slicer to filter data from 4 different date columns

Hi, I am trying to create a date slicer to filter out data from 4 different columns and 4 different dates which are in the same table (Table 1).

Data are joined together in the same row (Columns 1 and 2, 3 and 4, 5 and 6, 7 and 😎

Table 1

Column 1Column 2Column 3Column 4Column 5Column 6Column 7Column 8
Object AB1/1/2024      
  Object ABC1/1/2023    
      Object ABCD2/2/2024
    Object ABCDE2/2/2023  

 

If I click year 2023 on date slicer, it should show Object ABC and Object ABCDE.

How do I create a date table for the date slicer and how do I maintain the relationship between the date columns in the newly created date table and Table 1?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Powerbinic ,

You might consider converting Table 1 in PowerQuery to the following format:

vcgaomsft_0-1705632891246.png

Then create a Date Table for slicer.

vcgaomsft_2-1705633118950.png
Relationship:

vcgaomsft_1-1705633101126.png

output:

vcgaomsft_3-1705633151477.png

Please check the pbix file.

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @Powerbinic ,

You might consider converting Table 1 in PowerQuery to the following format:

vcgaomsft_0-1705632891246.png

Then create a Date Table for slicer.

vcgaomsft_2-1705633118950.png
Relationship:

vcgaomsft_1-1705633101126.png

output:

vcgaomsft_3-1705633151477.png

Please check the pbix file.

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.