cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Return blank value using IF () in story report

RishabhGupta19881
Participant

Accepted Solutions (1)

Accepted Solutions (1)

SWegiel
Product and Topic Expert
Product and Topic Expert
0 Likes

The problem is that both sides of the If statement have to be the same type of value e.g. both Text.  One solution for this is to create a separate calculation that converts the Last Modified Date to a Text.  

Convert the Last Modified Date to a Text field by creating this calculation:

CONCAT(

CONCAT(

CONCAT(

CONCAT(TOTEXT(MONTH([Employment#Job Information#Job Last Modified Date]))," / "),

TOTEXT(DAY([Employment#Job Information#Job Last Modified Date]))),

" / "),

TOTEXT(YEAR([Employment#Job Information#Job Last Modified Date])))

SWegiel_0-1742304961532.png

 

Then use this Calculation in your If statement:

SWegiel_1-1742304961536.png

 

IF([User#Basic User Information#Gender]="F" ,[LASTMODDATETEXT] ," " )

SWegiel_2-1742304961540.png

 

Answers (1)

Answers (1)

N1kh1l
Active Contributor
0 Likes

@RishabhGupta19881 

May be try the else part as NULL

 

IF(Field Value=Somevalue,Last Modified Date Time,NULL)

 

Hope this helps !!

Nikhil

RishabhGupta19881
Participant
0 Likes
Hi Nikhil, system does not accept NULL, i tried that also 🙂
N1kh1l
Active Contributor
0 Likes
Could you please show how your formula looks like
N1kh1l
Active Contributor
0 Likes

I tried writing a similar formula and NULL loos fine here

N1kh1l_0-1741695569147.png