Forum Discussion
IF Custom Column Formula > 1.5
- 10 years ago
That's perfect Eric. That is exactly what I needed. Thank you.
I think you need the else
if[Actual Hours]*1.5>[Scheduled Hours]then[Actual Hours]=[Scheduled Hours] else [Actual Hours]
HTH
Raven
- Anonymous10 years agoNot applicable
Here is a resource that is free with a WEALTH of information - It is an Power Bi class on edx.org
https://courses.edx.org/courses/course-v1:Microsoft+DAT207x+1T2016/info
It has helped me with Power BI
Raven
- android110 years ago
Post Patron
Hi,
Thanks for this. I'm getting False as my answers. Could it ba a formatting issue? My columns are in Decimal Number Format.
android1
- Eric_Zhang10 years ago
Microsoft Employee
android1 wrote:
Hi,
Thanks for this. I'm getting False as my answers. Could it ba a formatting issue? My columns are in Decimal Number Format.
android1
android1
Are you talking about adding a column in the query editor? You got a "False" because the expression [Actual Hours]=[Scheduled Hours] returns "False". Can you try below expression?if[Actual Hours]*1.5>[Scheduled Hours] then [Scheduled Hours] else [Actual Hours]