Forum Discussion
andrew_hardwick
Helper III
9 years agoComparing dates in a table
I have created a measure to create the difference between 2 dates in seperate tables. The first table holds the records that were created, the second table holds when the fields in table 1 were chang...
v-sihou-msft
Microsoft Employee
9 years ago
In this scenario, you could use calculated column instead of measure. It will be much easier to achieve you logic. Just apply IF statement like:
Column =
1
* (
IF (
Table[Changed Date] <> BLANK (),
Table[Changed Date],
IF ( Table[Closed Date] <> BLANK (), Table[Closed Date], NOW () )
)
- Table[Open Date]
)
Regards,