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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Dave_Delfino
Frequent Visitor

creating a column with all dates between a start- and an enddate using the "new column" function

Hey Guys,

 

I'm trying to visualise a project buffer consumption where the timeline reaches from the project startdate to the project enddate. The problem is that i want to create the timeline-column with the "new column" operation using something like "datesbetween() etc."

 

getting back a table where a column is needed...getting back a table where a column is needed...

Has anybody an idea how to tackle this problem?

 

greetings,

David

5 REPLIES 5
v-chuncz-msft
Community Support
Community Support

@Dave_Delfino,

 

You may use DATEDIFF Function.

Column =
DATEDIFF ( Table1[startdate], Table1[enddate], DAY )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Sam,

 

using the Datediff function gives me back a column where every row contains the NUMBER of days between the two dates. What I need is a column containing every single date between the Start- and Enddate. e.g.: 01.01.2000 / 02.01.2000 / 03.02.2000...etc.

 

The Datesinbetween function seems to do the job, but i won't get it working 😕

@Dave_Delfino,

 

You may add calculated tables.

Calendar =
CALENDARAUTO ()
Table =
GENERATEALL (
    Table1,
    SELECTCOLUMNS (
        DATESBETWEEN ( 'Calendar'[Date], Table1[startdate], Table1[enddate] ),
        "Date2", 'Calendar'[Date]
    )
)
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey Sam,

 

That was the work around i allready did and made the screenshot of. I am trying to solve it only using the "new column"- formulas. There must be a way doesn't it?

 

greetings,

Dave

Hey Sam,

 

i just saw that i never attached the screenshot i spoke about.

Here you go:

the work around i talked about...the work around i talked about...

but this still isn't the answer i',m looking for...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors