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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
kamalqlik
Partner - Specialist
Partner - Specialist

Count Logic

Hi guys,

I have a table structure like this.

I want the output as

If in the Code we have sale in W+8 ie as below For WESR150,AModel we have W+8 =100,

than the percentage should be 100%  ie on the basis of count(W+8) and it should not be zero.

in case fot WESR150 and BModel we have no Quantity ie 0 and for W+7 is 0,but we have the value in w+6 hence it should be 75% and so on.

Help me to build the logic.

CodeProductW+1 W+2 W+3 W+4 W+5 W+6 W+7 W+8 Sales of 201427Sales of 201428Sales of 201429Sales of 201430Input Rate
WESR150A Model 10000100001001002501514100%
WESR150B
  Model
5050308080500015562510550%
WESR150C
  Model
505030808050000000
WESR150D
  Model
50503080800000100025%
WESR150E
  Model
50503080805075005264275%
WESR150Total 63%

Regards

Kamal

Labels (1)
1 Reply
sujeetsingh
Master III
Master III

Confused a lot can you come in simple word with less field variations.