Question

I am trying to create a calculated column which shows the number of days' difference between two columns which have dates in them. I understand that I can get this with the following formula:

=DATEDIF([Column 1],[Column 2],"D")

But when i trigger the calculated column in a flow and show the days calculated in an email it look likes for example: Image


So what i should use in the formula to remove all the zeros ? Any help would be appreciated.

Thank you!

Était-ce utile?

La solution

Use the formula.

int(triggerBody()?['DateDif'])

enter image description here

Autres conseils

This question might help. The accepted answer says to just put your current column formula inside ROUND:

=ROUND([your formula here],0)
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top