Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - how to set a field based on another

Hi , just having some difficulty with setting a field (ResDayNum) based on another field (KeyDateNum).

Hopefully this explains the problem....

Capture2.JPG.jpg

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Set analysis calculates a set per chart, not per row. So for what you want you can't use set analysis. You'll have to use an if statement. sum(if(ResDayNum=KeyDateNum,PriceN)).


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

Set analysis calculates a set per chart, not per row. So for what you want you can't use set analysis. You'll have to use an if statement. sum(if(ResDayNum=KeyDateNum,PriceN)).


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks - interesting to know the row dimensions still applies in set analysis