Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to write if statement with time. (hh:mm)
I have a field dimension like below:
Time
00:25
02:44
18:25
00:00
In a pivot or straight table i just want show Time field if it is more then 00:00 otherwise make it null. Please show how.
if(Time='00:00',null(),Time)
Null means you are going to kill those?
If(Time = Time(MakeTime('00:00'), 'hh:mm'), 'Null', Time)
OR
If(Time = Time(MakeTime('00:00'), 'hh:mm'), ' ', Time)
getting results in -decimals.
null means just keep the field empty. don't show anything.
if(Time='00:00',null(),Time(Time,'hh:mm'))
I am getting results in decimal format.
Would you mind, Can you please provide sample?
1:00 is showing up as 4239.0416666667
May be this?
If(Time = Time(MakeTime('00:00'), 'hh:mm'), ' ', Interval(Time/24/60/60, 'hh:mm'))