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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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 Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors