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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
RichHead1821
Resolver I
Resolver I

Dataflow to create dynamic date table to End of Current Quarter

Here's what I did for the end date (initially)

Table.TransformColumnTypes(Table.AddColumn(#"Changed column type", "endDate", each Date.AddDays(DateTime.LocalNow(), 30)), {{"endDate", type date}})

I now want the end date to be set to the end of the current quarter... tried a few things, but no joy. I'm convinced it must be easy, but it's escaping me at the moment.

1 ACCEPTED SOLUTION
RichHead1821
Resolver I
Resolver I

Sorted

Table.AddColumn(#"Changed column type", "endDate", each Date.EndOfQuarter(DateTime.LocalNow()), type date)

View solution in original post

1 REPLY 1
RichHead1821
Resolver I
Resolver I

Sorted

Table.AddColumn(#"Changed column type", "endDate", each Date.EndOfQuarter(DateTime.LocalNow()), type date)

Helpful resources

Announcements
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 Kudoed Authors