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: 
bharatkishore
Creator III
Creator III

Needed Set Analysis Help

Hi All,

I have a Brand,Month, Market fields.

And the data looks like

     

Apple621056229471943886638600013300092200802008120013720084200827001061705
Ball439900425883374061614654710641102983097200033800013810008270008190005180008449969
Hat1349478.281358839.571443269.551607000203800015930001387000788000143700013150001250000142200016988587.4
Bat9443083226114705117701265150149450206450954501584501414501404501404501707362
Bag3903344052574777156106485441115900365815363200364895365158865675364065365899167
Mobile3598383238003396613619763810283806433354332054333854334470333904333354334246144
Grand Total2696085.282659299.572821354.5534006424024930387595935746191827119393261933835693251619290511938352934.4

Now i have taken a line chart and i needed expression as 62105/2696085, 439900/2696085.

I have written as =(sum(Target_Impressions)/sum(TOTAL{<Target_Month=,Voice_Brand=>} Target_Impressions))

I am getting correct values when  i am selecting month and Brand filters.. But i need to get the values without making any filters.

Kindly help.

Thanks,

Bharat

1 Solution

Accepted Solutions
swuehl
MVP
MVP

What are the dimensions used in your line chart?

I think you probably just need to use the TOTAL qualifier with a field list and appropriate dimensions.

In a more complex scenario, I think you probably need to use advanced aggregation rather than set analysis.

like using Target_Month and Voice_Brand as dimensions in your line chart and as expression

=Sum(Target_Impressions) / Sum(TOTAL<Target_Month> Target_Impressions)

View solution in original post

2 Replies
swuehl
MVP
MVP

What are the dimensions used in your line chart?

I think you probably just need to use the TOTAL qualifier with a field list and appropriate dimensions.

In a more complex scenario, I think you probably need to use advanced aggregation rather than set analysis.

like using Target_Month and Voice_Brand as dimensions in your line chart and as expression

=Sum(Target_Impressions) / Sum(TOTAL<Target_Month> Target_Impressions)

bharatkishore
Creator III
Creator III
Author

Thanks a lot.. Exactly what i needed..