Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
asifmaula2015
Contributor
Contributor

Process to show data one row after the other according to some conditions

Hi All,

I have a requirement where I have to create a dashboard for BOM(Bills of Materials). Let me tell you what BOM is all about. There are some Materials which is having respective Components under it. These Components are further divided into Sub-Components which is under the same field i.e. Material. There is a flag known as Assembly Indicator which signifies if any Components is broken down into Sub-Components or not. The values of this flag are either 'X' or 'Null wherein 'X' tells us that the Components has child components(sub-components).

So my requirement is to publish these lines one after the other. Please see the example below:

MaterialComponentAssembly Indicator
Mat1Comp1X
Mat1Comp2
Mat1Comp3X

Mat2

Comp56

Mat3

Comp87
Mat7Comp6
Comp1SubComp1X
Comp1
SubComp2
SubComp1SubComp76
Comp3SubComp33

So it should look like below table:

Since Material 'Mat1' has Component 'Comp1' and has an Assembly Indicator flag as 'X' so it's component line should be published/displayed soon after this Material 'Mat1' details and so on. It should display all the sub components detail unless it finds a Null flag.

MaterialComponentAssembly Indicator
Mat1Comp1X
Mat1Comp2
Mat1Comp3X
Comp1SubComp1X
Comp3SubComp33

I hope I was able to explain. Eagerly awaiting your reply.

Thanks in advance.

Regards,

Asif

1 Reply
marcus_sommer

Have a look here: Bill of Materials

- Marcus