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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mukdo
Frequent Visitor

table with date filter between date range

I have two Table and there are no relationship between them. One table (FilterTable) has one column Months. Another Table (DateRangeTable) have some column like StartDate , EndDate. Where date ranges (StartDate - EndDate ) can be overlapping.

 

 If I select any Month like May-2011, it should return those date ranges ( StratDate - EndDate) which  are related to selected month. 


FilterTable: 

mukdo_0-1669788004986.png

 

DateRangeTable:

mukdo_1-1669788568130.png

 

Thank you

 

4 REPLIES 4
mukdo
Frequent Visitor

Dear @NikhilChenna , 

please view again I edit some line that clearify more my question

Hi @mukdo ,

If you want the second table to show the data according to the first table filter there should be a relationship without it you cannot filter.

 

Regards,

Nikhil Chenna

 

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

I need to Date Between like DATESBETWEEN(Months, StartDate, EndDate) then how can I relation with it?

Suppose I Select Month May-2011

and I have a data which StartDate Jan-2010 and EndDate Feb-2015
this data should be return. Casuse its in between Start and EndDate

NikhilChenna
Skilled Sharer
Skilled Sharer

Hi @mukdo ,

It is simple. You have use create a date dimension table and create one to many relationship with both the tables. and then use montth slicer from the date table it should work.

 

Regards,

Nikhil Chenna

 

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.