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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I need to create a Date column to dynamically update itself daily.
Ex: Using maybe Power Query, I need a column with a list of dates from
(Today-30 days) TO (Today + 90 days).
These dates would change daily.This means that if:
Today = 31-07-2017
Then I need to create a "Dynamic" column which gives me "ALL" the dates between
01-07-2017 (ie Today - 30 days)
--- TO---
29-10-2017 (ie Today + 90 days)
These dates should change dynamically as the Day changes.
Solved! Go to Solution.
Hi @ketan10,
Create the table in the modeling view the DAX formula will be:
Table = CALENDAR(TODAY()-30,TODAY()+90)
Should give the expected result.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @ketan10,
Try using this formula:
Week_End_Date = DATEADD ( 'Table'[Date], ( 7 - WEEKDAY ( 'Table'[Date], 1 ) ), DAY )
If you need the end of the week be different from Sunday replace the 1 to 2 or 3.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @ketan10
Can you tell more about why you need this or what you are trying to achieve with it? And if you insist on using Power Query?
Hi @ketan10,
Create the table in the modeling view the DAX formula will be:
Table = CALENDAR(TODAY()-30,TODAY()+90)
Should give the expected result.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks @MFelix this works. But I also need to have a End Of Week column for these dates. Could not find a function for that in DAX.
Hi @ketan10,
Try using this formula:
Week_End_Date = DATEADD ( 'Table'[Date], ( 7 - WEEKDAY ( 'Table'[Date], 1 ) ), DAY )
If you need the end of the week be different from Sunday replace the 1 to 2 or 3.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsVote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |