cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
atul9063 Member
Member

Issue in Creating Calendar till Previous month end Date.

Hi,

 

I m using below DAX 

 
Calender = CALENDAR("7/1/2018",EDATE(EOMONTH(TODAY(),0),-1)) to generate dates from "7/1/2018" to "10/31/2018"
 
But i m getting dates till 10/20/2018. Let me know how to create calender  till Previous month last date.
 
 
 
 
1 ACCEPTED SOLUTION

Accepted Solutions
affan Established Member
Established Member

Re: Issue in Creating Calendar till Previous month end Date.

Hi @atul9063

 

Please use the below DAX

 

Calender = CALENDAR("7/1/2018",EDATE(EOMONTH(TODAY(),-1),0))

 

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

1 REPLY 1
affan Established Member
Established Member

Re: Issue in Creating Calendar till Previous month end Date.

Hi @atul9063

 

Please use the below DAX

 

Calender = CALENDAR("7/1/2018",EDATE(EOMONTH(TODAY(),-1),0))

 

If this helped you, please mark this post as an accepted solution and like to give KUDOS .

 

Regards,

Affan

Helpful resources

Announcements
GregDeckler

How to Get Your Question Answered Quickly

Power BI Super User, Greg Deckler, explains

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Back to School Contest

Back to School Contest

Engage and empower students with Power BI!

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Ideas
Users Online
Currently online: 6 members 950 guests
Please welcome our newest community members: