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
lync0056
Helper I
Helper I

Show Row Based on a Start Date and End Date

Hi All,

 

Hopefully simple one... I have 2 Tables -

A Project Table which holds 2x columns - A Start Date and an End Date

A generic Date Table


Currently the model has a relationship between End Date and the Date Table.

 

I have a Date table filter on the page of November 2019.

 

1 Row from the Project Table has a start date of 1 September 2019 and end date of 31 December 2019.

 

Therefore because of the relationship with End date, it does not show. I need it to show because the month of November falls between the Start and End date.

 

Help please.

 

 

Cameron

1 ACCEPTED SOLUTION
Anonymous
Not applicable

remove relationship between two tables.

 

USe your generic table in slicers whatever it is after slicer before slicer or between slicer.

 

Create one measure.

Filter= IF(Min(project[StartDate])<=min(Calendar[Date]) && Min(project[CloseDate])>=min(Calendar[Date]),1,-1 )

 

Add this measure in visual level filter and set it to 1.

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

remove relationship between two tables.

 

USe your generic table in slicers whatever it is after slicer before slicer or between slicer.

 

Create one measure.

Filter= IF(Min(project[StartDate])<=min(Calendar[Date]) && Min(project[CloseDate])>=min(Calendar[Date]),1,-1 )

 

Add this measure in visual level filter and set it to 1.

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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