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: 
Luke_Killer_IT
Creator
Creator

data on one line

Hi

I would like to see the data from L and H on one line. Is it possible to do that?

I load L and H in the script

Luke_Killer_IT_0-1630312402241.png

 

1 Solution

Accepted Solutions
Taoufiq_Zarra

@Luke_Killer_IT  you can try something like

BS_Zuord:

Load
Owning_Obj as S_Artikel_obj,
if(Merkmal='23',Auspr) as L,
if(Merkmal='24',Auspr) as H
FROM
[$(ImportPfadExport)$(Modul)BS_Zuord.qvd](qvd) where SMLeiste='AB-Param' and (Merkmal='23'or Merkmal='24');

final:
noconcatenate
load Teil, TeilArt,Bezeichnung,concat(L,'') as L,concat(H,'') as H  resident BS_Zuord group by Teil, TeilArt,Bezeichnung;

drop table BS_Zuord;
Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

11 Replies
Taoufiq_Zarra

@Luke_Killer_IT  if I understood correctly

in your new dimension :

if(len(trim(L))=0,H,L)

like :

Capture.PNG

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
yassinemhadhbi
Creator II
Creator II

Hi,

Can you share your script please

Best Regards
Yassine Mhadhbi
Luke_Killer_IT
Creator
Creator
Author

BS_Zuord:
Load
Owning_Obj as S_Artikel_obj,
if(Merkmal='23',Auspr) as L,
if(Merkmal='24',Auspr) as H
FROM
[$(ImportPfadExport)$(Modul)BS_Zuord.qvd](qvd) where SMLeiste='AB-Param' and (Merkmal='23'or Merkmal='24');

 

Luke_Killer_IT
Creator
Creator
Author

Luke_Killer_IT_0-1630313352424.png

that's more what I meant

yassinemhadhbi
Creator II
Creator II

it would be better if you shared a sample of your application

Best Regards
Yassine Mhadhbi
Taoufiq_Zarra

@Luke_Killer_IT  you can try something like

BS_Zuord:

Load
Owning_Obj as S_Artikel_obj,
if(Merkmal='23',Auspr) as L,
if(Merkmal='24',Auspr) as H
FROM
[$(ImportPfadExport)$(Modul)BS_Zuord.qvd](qvd) where SMLeiste='AB-Param' and (Merkmal='23'or Merkmal='24');

final:
noconcatenate
load Teil, TeilArt,Bezeichnung,concat(L,'') as L,concat(H,'') as H  resident BS_Zuord group by Teil, TeilArt,Bezeichnung;

drop table BS_Zuord;
Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
Taoufiq_Zarra

@Luke_Killer_IT  or yous your script

BS_Zuord:

Load
Owning_Obj as S_Artikel_obj,
if(Merkmal='23',Auspr) as L,
if(Merkmal='24',Auspr) as H
FROM
[$(ImportPfadExport)$(Modul)BS_Zuord.qvd](qvd) where SMLeiste='AB-Param' and (Merkmal='23'or Merkmal='24');

 

and in UI use chart:

dimension: Teil, TeilArt,Bezeichnung,..

meausre : concat(H,'') and concat(L,'')

 

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
Luke_Killer_IT
Creator
Creator
Author

 

@Taoufiq_Zarra  @yassinemhadhbi 

teile and teileart uses a different table S_artikel

Taoufiq_Zarra

@Luke_Killer_IT  the second solution will work for you

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉