I have a simple form and what to compare 2 values
If(TotalComp>TotalMonths,"Yes","No")
This is what I think the value should be but it does not work
When the user enters a DOB this calculates the age into months as a label This is TotalMonths
If (DateDiff (Today (), Date (Year (Now ()), Month (DataCardValue1.SelectedDate), Day (DataCardValue1.SelectedDate))) <= 0, DateDiff (DataCardValue1.SelectedDate, Today (),TimeUnit.Months),DateDiff (DataCardValue1.SelectedDate, Today (),TimeUnit.Months) - 1)
I then have a 2nd label which is the calculation of their comprehension age This is TotalComp
Sum(DataCardValue7*12 + DataCardValue8)