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

To create a shift roaster in Power BI

Hi All,

I have a requirement to create a shift roaster in power BI, below is the format given in Weeks.

I have to display Weeks along with timing PST and highlight the shift details during this time.

neelofarshama_1-1616570223124.png

In Power BI expected output should be like below displaying time and week and highlight the time with shift details

neelofarshama_2-1616571675625.png

 

Please help how can we achieve this.

 

Thanks in Advance,

Neelofar Shama

 

3 REPLIES 3
HarishKM
Memorable Member
Memorable Member

@Anonymous you can create a custom calender .

Calender = ADDCOLUMNS( CALENDAR(MIN(data[Order Date]),MAX(data[Order Date])),
"Year",YEAR([Date])
, "Monthnum",MONTH([Date]),
"Month Name ", FORMAT([Date],"mmmm")
, "Day", DAY([Date]),
"Day Name", FORMAT([Date],"dddd"),
Then drag the required feild in matrix for result like this 

HarishKM_0-1616576399670.png

 

Anonymous
Not applicable

Thanks for the reply but this data is coming from a Strored Procedure so I cannot modify it.

Can you tell me how well can I represent a shift roaster in Power BI which shows the associates working in which shift weekly.

amitchandak
Super User
Super User

@Anonymous , Separate out Data and time in separate columns

create Date and Time table.

 

Time table , create bucket of time you need - https://kohera.be/blog/power-bi/how-to-create-a-time-table-in-power-bi-in-a-few-simple-steps/

 

Date = [datetime].date
or
Date = date(year([datetime]),month([datetime]),day([datetime]))

 

Time= [datetime].Time
or
Time= date(hour([datetime]),minute([datetime]),second([datetime]))

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

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
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.