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: 
mateusgerin
Contributor
Contributor

Unlink the coluns created with Alias

Hi All!

Please, i need some help here 🙂

I need to extract/filter the data from the same column ("Business Partner Number") based on the values ​​in another column  ("Partner Function") as shown in the example:

LOAD
"Custom_Document_Header.Primary Key" as ID,
if ("Partner Function" = 'ZCUSVKA', "Business Partner Number") as BILL_FROM,
if ("Partner Function" = 'ZCUSREM', "Business Partner Number") as BILL_T0

...

The scrip worked correctly but I can not use both columns at the same time .. if I select one the other is disabled 😑

Thanks for the help.

 

Labels (1)
3 Replies
dplr-rn
Partner - Master III
Partner - Master III

Sounds like you may need to do use set analysis and possibly island tables rather than doing it in script.

Am i right in thinking you want to see items billed from A and billed to B 

If you can share a sample data can try and help.

mateusgerin
Contributor
Contributor
Author

Hi Dilipranjith!

Yes, I have different values ​​in the same column, so I need to separate the values ​​of each group into a different column.

For example:

AS IS:

Partner_FunctionBusiness Partner_Number
A11168033
B8163122
C8155562
C8337549
B8337550

 

TO BE:

Partner APartner BPartner C
1116803381631228155562
 83375508337549

 

Attached we can see a sample.

Thanks a lot.

mateusgerin
Contributor
Contributor
Author

Does anyone know how to achieve this result?

Partner_FunctionBusiness Partner_Number
A11168033
B8163122
C8155562
C8337549
B8337550

 

Expected:

Partner APartner BPartner C
1116803381631228155562
 83375508337549