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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Replace the record with others

Hi all,

I have a problem with this code:

[GoalTab]:

LOAD

   

    if(BU='A' or BU='B', BU = 'AB', BU) as BU,

    Goal

FROM [...path.xlsm]

(ooxml, embedded labels, table is GOAL);

I want to replace A or B by AB, but in vizualization is 0 (each other record is OK within AB...).

Thanks for your answers...

1 Solution

Accepted Solutions
prat1507
Specialist
Specialist

Use

[GoalTab]:

LOAD

  

    if(BU='A' or BU='B', 'AB', BU) as BU,

    Goal

FROM [...path.xlsm]

(ooxml, embedded labels, table is GOAL);

View solution in original post

2 Replies
prat1507
Specialist
Specialist

Use

[GoalTab]:

LOAD

  

    if(BU='A' or BU='B', 'AB', BU) as BU,

    Goal

FROM [...path.xlsm]

(ooxml, embedded labels, table is GOAL);

Anonymous
Not applicable
Author

Thank you very much