Forum Discussion
Calculated column is not returning the desired value using Calculate
- 2 years ago
30 days or one month? There's a difference...
- 2 years ago
DATEADD applies to the entire column. To shift individual dates you use EDATE.
lbendlin I'm puzzled as to why I don't get the same result as you. In my dataset, both tables are related to a plant dimension and a date dimension, and plant key is a calculated column in snapshot. Finally, equipment has over 1,7 million rows.
Could any of this thing affect the outcome?
for example, for Dec 4, 2023, TC11BLO, you are getting 347 rows, which is the right amount. However, I get 0:
I'm seeing the filter is not taking into account the period of dates provided, only the specific day for that row, so it must find a perfect coincidence in plant and date to return anything.
Any idea?
Thanks again.
- lbendlin2 years ago
Super User
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.- leandro_vegacr2 years ago
Helper I
I understand full data may be required, but I'm restricted to share it. I ended up creating a measure, based on your ideas and the measure is working fine for my purposes, so this is good enough. Again, realy thnakful for the effort.