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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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