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

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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