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
Anonymous
Not applicable

Setup a slicer of monthly blocks using two fields

Hello,

 

As a 10 year Tableau user I am jumping into Power Bi for my new position and I have not fully grasped how to utilize DAX to achieve some of my desired results.  My dilemma is I have a Start Date and an End Date, and I need to create monthly blocks based on specific dates within these columns.  For example, I can have 4-5 Start Dates and End Dates for each month based on when the data is being updated, however I need to create a slicer that is based on dates that I have been given so they can choose a "block" and then the visualization filters/slices the data down to the desired block.  

 

I'm new to the forum so please let me know if I need to include more information.

 

Thanks,

 

JW

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , check these between date solutions

 

Power BI: HR Analytics - Employees as on Date : https://youtu.be/e6Y-l_JtCq4
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970
Power BI HR Active Employee Tenure Bucketing, and Hired, Terminated, and Active employees: https://youtu.be/fvgcx8QLqZU

 

Others

Measure way
Power BI Dax Measure- Allocate data between Range: https://youtu.be/O653vwLTUzM


Tables way
https://amitchandak.mediumcom/dax-get-all-dates-between-the-start-and-end-date-8f3dac4ff90b
https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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