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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
i_kafali
Helper II
Helper II

Creating Dates with Values

Hi all,

 

I have columns as below;

 

Years and months coming from dateset in number format. What i want to do is to create date out of this numbers. 

Dates has to be last dayof the period 

For instance 2018 and 6 should be 30.06.2018 and 2019 and 3 should be 31.03.2019 and so on. 

 

Thanks in advance

 

YEARMONTH
20186
20187
20188
20189
201810
201811
201812
20191
20192
20193
1 ACCEPTED SOLUTION
AndreyBear
Advocate I
Advocate I

eomonth(date([year],[month],1),0)

View solution in original post

2 REPLIES 2
AndreyBear
Advocate I
Advocate I

eomonth(date([year],[month],1),0)

Thank you it works 🙂

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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