Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
JamesMF82
Contributor II
Contributor II

Expression does not allow static text, but allows field values

I've got a very strange problem at the moment. I have the following formula

=if(isNull(ClientCode),
      if(IsNull(ECSSettingsNumber), 'Activity','Setting')
          ,'Client')

and then the first two checks are positive it does not show Activity and shows '-' instead (Though the Setting and Client text come through fine)

However if I change it to a field, it works fine. I've tried using concat or a variable and it's not working. Very strange.

=if(isNull(ClientCode),
      if(IsNull(ECSSettingsNumber), EventCode,'Setting')
       ,'Client')

Any help would be great.

Labels (2)
1 Reply
vinieme12
Champion III
Champion III

1) ARe you trying to add this as Dimension or MEasure?

 

2) Can one ClientCode  have more than one ECSSettingsNumber  ?

 

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.