cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GoingIncognito Frequent Visitor
Frequent Visitor

Dynamic or relative calendar

This must be a silly question, but as I am new to DAX I've to ask:

I would like to do calendar that shows dates half a year back AND one year onwards from today? And also use it as either a filter or slicer? How do I manage this?
Thank you so much!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Dynamic or relative calendar

@GoingIncognito Please try this as a "New Table" 

 

Test73DynamicDimDate = 
VAR _StartDate = EDATE(TODAY(),-6)
VAR _EndDate = EDATE(TODAY(),12)
RETURN CALENDAR(_StartDate,_EndDate) 


Did I answer your question? Mark my post as a solution !

Proud to be a Datanaut !





2 REPLIES 2
Super User
Super User

Re: Dynamic or relative calendar

@GoingIncognito Please try this as a "New Table" 

 

Test73DynamicDimDate = 
VAR _StartDate = EDATE(TODAY(),-6)
VAR _EndDate = EDATE(TODAY(),12)
RETURN CALENDAR(_StartDate,_EndDate) 


Did I answer your question? Mark my post as a solution !

Proud to be a Datanaut !





GoingIncognito Frequent Visitor
Frequent Visitor

Re: Dynamic or relative calendar

Thank you so much! I have to say about you that not all heros wear a cape!

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 344 members 3,504 guests
Please welcome our newest community members: