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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Jim_
Advocate I
Advocate I

Date Filtering Question

Hi All,

 

I have been needed for sometime to be able to filter by a universal date, I thought that "Mark custom date table" was going to be that solution but I don't see how to make it work for my data.  Below is a hyper simplified example of my data:

 

Widget Lot IDDate OrderedDate ProducedDate DispotionedDispositionDate Shipped
W#11-Jan-182-Jan-183-Jan-18Accepted8-Jan-18
W#21-Jan-183-Jan-185-Jan-18Accepted13-Jan-18
W#315-Jan-1818-Jan-1821-Jan-18Rejected23-Jan-18
W#419-Jan-1823-Jan-1823-Jan-18Accepted28-Jan-18

 

I would like to be able to have a date filter that could be applied to each date column.  Basically, if I set my filter "04Jan18 to 31Jan18" I want to be able to see what was ordered, produced, dispoitioned, and shipped in that time period.  The new feature only works if you have no gaps and no unique date...I don't have any data that looks like that. 

 

I know one of you brainiacs will have a solution for me. 

 

Thanks!!!

Jim

 

1 ACCEPTED SOLUTION
mattbrice
Solution Sage
Solution Sage

View by Widget Lot ID? I would start by doing some data ETL and unpivoting the date columns so you end up with a 4 column data source, but only one is a 'Date' type:

 

Widget Lot ID | Disposition Status | Date Type |  Date

W#1     |     Accepted     |    Date Ordered     |  01/01/2018

W#1     |     Accepted     |    Date Produced     |  01/02/2018

...

 

Then link Calendar table to "Date" column and just put a date slicer on the "Calendar[Date]" column.  Write measures to caculate how many accepted, rejected, etc. 

View solution in original post

2 REPLIES 2
mattbrice
Solution Sage
Solution Sage

View by Widget Lot ID? I would start by doing some data ETL and unpivoting the date columns so you end up with a 4 column data source, but only one is a 'Date' type:

 

Widget Lot ID | Disposition Status | Date Type |  Date

W#1     |     Accepted     |    Date Ordered     |  01/01/2018

W#1     |     Accepted     |    Date Produced     |  01/02/2018

...

 

Then link Calendar table to "Date" column and just put a date slicer on the "Calendar[Date]" column.  Write measures to caculate how many accepted, rejected, etc. 

Thanks!!! 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.