This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi everyone,
Can anyone help me code, im trying to get my value from the last day of each month at 1130 PM. Im unsure how to code to find the last day of each month
Thank you.
Solved! Go to Solution.
@Anonymous , For new column, for any date you want to know last date of month
New column = eomonth([date], 0)
for today // you can use today in new column
New column = eomonth(today(), 0)
@Anonymous , last day of each month is eomonth([Date],-1)
example
based on selected date
New Measure =
Var _max = maxx(allselected(Date) , Date[date])
return
calculate(sum(Table[value]), filter('Table', Table[date] =_max + time(23,30,0)))
with today
New Measure =
Var _max = today()
return
calculate(sum(Table[value]), filter('Table', Table[date] =_max + time(23,30,0)))
Hello sir,
I am trying to obtain the last day of the month that the data is in. For exmple on January, last day is 31 January. From the code, it gives the last day of the month before
@Anonymous , For new column, for any date you want to know last date of month
New column = eomonth([date], 0)
for today // you can use today in new column
New column = eomonth(today(), 0)
works for me thankuu
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 32 | |
| 25 | |
| 23 |