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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Set Expression

I have attached my QV document where you find two pivot tables in my below shown table I want to show  under the column "premium renewed rating to other month"  premium renewed that do not fall into current month.

Screenshot_1.png

I want to show Rs.19728 in last column that this the amount relating to 1st policy no highlighted in yellow where pol period to ens in April but not in may . Pls help me

5 Replies
upaliwije
Creator II
Creator II
Author

Hi Friends

Pls help me with solution for my problem

upaliwije
Creator II
Creator II
Author

My Friends

Any feedback to my above discussion is welcome

Anil_Babu_Samineni

Like this?

I am considering as Month(POL_PERIOD_FROM) = Month(POL_PERIOD_TO) with in the set analysis

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
upaliwije
Creator II
Creator II
Author

Thanks Anil,

Could you please attached the modified QV Document

upaliwije
Creator II
Creator II
Author

If I modify the expression as you said it does not work

Below is my new set expression

sum( {<R_YEAR=,R_MONTH=,[R_MONTH] = {$(=concat([R_MONTH],','))},[R_YEAR] = {$(=max([R_YEAR]+1))}, Month(POL_PERIOD_FROM) = Month(POL_PERIOD_TO) ,POL_TYPE={'R'}>} [PREMIUM] )