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
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
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.