Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
siddharthsoam
Partner - Creator II
Partner - Creator II

how to replace values in a dimension

i m using  if("SBU Head Name"='-' and CBU='-','others') as "SBU Head Name" condition in load editor, but it is giving me error as sbu head name already exists. I want my sbu head name's satisfying the condition to be relpaced by others

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

Either
Change the name of the derived field so it does not conflict with the existing field

Or

Remove the other [SBU Head Name] from the load statement or alias as something else, like

[SBU Head Name] as [Orig SBU Head Name],


If the load statement uses a LOAD * structure, you will need to expand the * to explicitly control the actual field names returned by the LOAD

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
arvind_patil
Partner - Specialist III
Partner - Specialist III

Hi Sidhharth,

Please try below Code:

IF(Isnull([SBU Head Name]) and isnull(CBU)),'Others') as [New Field];


Thanks,

Arvind Patil