Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
paweln
Contributor III
Contributor III

Fields from one table to create columns in the other

I have production batches in such table.

paweln_0-1589298467063.png

Every lot has to go through two sections of shop floor, section A (with machines A1, A2 etc.) and B (machines B1, B2, B3 etc). 

I need such table:

paweln_1-1589298849046.png

 

How to do it?

 

 

2 Replies
PrashantSangle

what is your expected output?

where you want to do it??

have you tried with pivot table 

take 2 dimension Batch No and Section 

measure : Count(Batch No)

or in 

Table

take Batch No as Dimension

Measure 1 : count({<Section={'A'}>}[Batch No])

Measure 2 : count({<Section={'B'}>}[Batch No]) 

 

Regards,

max

 

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
IamAlbinAntony
Creator
Creator

Try this,

=if(Count(Batch)=2,aggr(only({<Section={'A'}>}Machine),Machine),null()) for A

=if(Count(Batch)=2,aggr(only({<Section={'B'}>}Machine),Machine),null()) for B

FruzoCrew_0-1589345118036.png