cancel
Showing results for 
Search instead for 
Did you mean: 

date calculation pb - formula of type Date (found: integer ) HDB 01057

Former Member
0 Kudos

I would like to create a calculated measure that would take a monthly number and turn it into a daily number. I have a field Production_Date that I would like to find the last day of the month and use that to divide into another field called monthly_S&OP.

I have tried to just get the last day of the month and keep getting an error:

Here is the formula I am trying to use: Day(LastDayOfMonth({Production_Date}))

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What is your date format from the original data

Day(LastDayOfMonth({Column_0})) works for me when column_0 contains date values in mm/dd/yyyy format.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you Tony Foster.  Not sure why I didn't think of that.  My date format was mm/dd/yy.  Still very new to Lumira

Henry_Banks
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

what's your data source in this case?  is this a 'download from hana' scenario?

pls. could you provide some information about your versions here?  desktop SP &  datasource DB  for example.

Kind regards,

H