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: 
BrunPierre
Partner - Master II
Partner - Master II

Sum IF question

 
Labels (1)
1 Solution

Accepted Solutions
2 Replies
BrunPierre
Partner - Master II
Partner - Master II
Author

IDR_TypeR_Company%_CONTRIBUTION
FARCF00
FARCF040
FARFF50
FARFF554.17
FARTFS0
FARTSS22

 

Hello guys!

With the above I'd like to perform a conditional s

For every R_Type , sum the %contribution based on the R_company, that is

IF R_Type  = C and R_Company is unique (F0), then 0 + 40 = 40

IF R_Type  = F and R_Company is unique (FS and SS), then 0 + 54.17 = 54.17

IF R_Type  = T and R_Company is not unique (F5 & SS), then 0 + 22 *(2) = 44 because there are two distinct R_Company.

Thanks

 

 

 

 

 

 

rubenmarin
MVP
MVP