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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
moons
Helper I
Helper I

Date Join to Date Range ( Start Date and End Date)

Hello,

 

I'm looking to join a Date field from DataTable  to StartDate and EndDate fileds in DateTable. Basically I'm trying to join like this: 

DataTable.Date between DateTable.StartDate and DateTable.EndDate 

 

Is it possible in power BI data modeling?

 

Thanks!

1 ACCEPTED SOLUTION

Hi @moons ,

 

You can create month and week fields separately, and then filter by clicking on the slicer:

v-henryk-mstf_1-1622616640553.png

 

v-henryk-mstf_0-1622616622864.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.

Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
moons
Helper I
Helper I

Hi @v-henryk-mstf 

Thanks for the reply. I have the date filed already in the table and I can use date slicer as an filter. But requirement is to use Button or Chicklet slicer to filter the data. For example, I have buttons with named Current Month, Current Week, Current Year & Last Month. User will just click on specific button to get the data for that time period. Is this possible?

Hi @moons ,

 

You can create month and week fields separately, and then filter by clicking on the slicer:

v-henryk-mstf_1-1622616640553.png

 

v-henryk-mstf_0-1622616622864.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.

Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-henryk-mstf
Community Support
Community Support

Hi @moons ,

 

You can try to create a date table, and then select the date range through the filter and find the corresponding value, refer to the following:

v-henryk-mstf_0-1622445202182.pngv-henryk-mstf_1-1622445215408.pngv-henryk-mstf_2-1622445226683.png


If the problem is still not resolved, please provide detailed error information and a screenshot of the desired result. Looking forward to your reply.

 

Best Regards,
Henry

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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