Forum Discussion
Filter Multiple Date Columns in One Slicer
- 7 years ago
I think you need to transform your data in Power Query first.
Here is a sample of your data (I just keyed some stuff in)
I then selected all of the columns except the recruiter, and on the Transform tab, select Unpivot Column. Then I renamed the columns to make more sense and got this:
Now, import that into Power BI, and link the date column to a date table in Power BI (See this article if you need help with a date table).
Then put the date, or month, or quarter, or whatever, from the date table into your slicer, and the functions (screening, test, etc) and the recruiter names in your visuals, and the date slicer will cause your other visuals to show all related items about that time period. So if Month is in the slicer, all January items would show up in the visual if you selected January in the slicer.
I think you need to transform your data in Power Query first.
Here is a sample of your data (I just keyed some stuff in)
I then selected all of the columns except the recruiter, and on the Transform tab, select Unpivot Column. Then I renamed the columns to make more sense and got this:
Now, import that into Power BI, and link the date column to a date table in Power BI (See this article if you need help with a date table).
Then put the date, or month, or quarter, or whatever, from the date table into your slicer, and the functions (screening, test, etc) and the recruiter names in your visuals, and the date slicer will cause your other visuals to show all related items about that time period. So if Month is in the slicer, all January items would show up in the visual if you selected January in the slicer.
- Anonymous7 years agoNot applicable
Thanks a lot, edhans!
Your solution is perfect for what I wanted, I used the date table as a slicer to filter the dates I need, and I made both a table and a matrix table to show the results how I need them to be! That's amazing!
- SirJJAnderson6 years ago
Helper III
Anonymous edhans I'm having a similar issue. I followed your solution, but am having an issue with incorrect totals for "count of date" columns as detailed here: https://community.powerbi.com/t5/Desktop/Filtering-Multiple-quot-Count-of-Date-quot-Columns-with-One/m-p/1088313
Any help would be appreciated!