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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
bhmiller89
Helper V
Helper V

Combine Date Table?

I have a Date Table that I populated and created a relationship to a table of scheduled requests (SRs) via their start date (not end date).

 

every SR has an assigned user. Not every assigned user has an SR schecduled for every day of the month. I easily can show a visual of SRs scheduled, but I can't figure out how to show empty (or "free") days. When I use the Date Table date as a column and then the SRs, nothing populates.

 

2 REPLIES 2
AlexChen
Microsoft Employee
Microsoft Employee

Hi,

 

I assume you have a table “requestInfo” table like below.

 

1.png

 

Firstly, create a calculated column to get the last end date:

 

Column =
VAR PreID = requestInfo[requestId] - 1
RETURN
(
IF( LOOKUPVALUE( requestInfo[assigned user], requestInfo[requestId], PreID ) <> requestInfo[assigned user], requestInfo[end date],
LOOKUPVALUE( requestInfo[end date], requestInfo[requestId], PreID )
))

 

2.png

 

Secondly, create another column to calculated free days between SRs:

 

freeDays = if([start date] < [Column], 0, DATEDIFF([Column], [start date], DAY)-1)

 

3.png

 

Now, you can create a table to get all free days for users:

 

Table = CALCULATETABLE(SUMMARIZECOLUMNS(requestInfo[assigned user], "free days", sum(requestInfo[freeDays])))

 

4.png

 

Best Regards

Alex

 

KGrice
Memorable Member
Memorable Member

If you take the Date from your Calendar table and use it on a column chart Axis, and use something like an Assigned SRs measure for the Value, you want to show all of the dates, not just the ones that have an Assigned SR on the given date? Click the drop-down for the Date field in the Axis section, then check Show items with no data. All of your dates should show on the axis now.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors