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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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 II
Advocate II

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

View solution in original post

2 REPLIES 2
AndreyBear
Advocate II
Advocate II

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

Thank you it works 🙂

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.