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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
atul9063
Helper III
Helper III

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
affan
Solution Sage
Solution Sage

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

View solution in original post

1 REPLY 1
affan
Solution Sage
Solution Sage

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.