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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.