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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
nevilledhamsiri
Specialist
Specialist

How to restrict a record of which both field fall in to same month

Hi,

Please see the data attached & help me to restrict records of which  Cr Month equal to From Month from being shown. How aggr (only  function is deploy able for satisfying two fields?

Many thanks in advance

Neville

1 Solution

Accepted Solutions
sunny_talwar

May be this

If(CR_MONTH <> FROM_MONTH, Sum(PREMIUM))

Capture.PNG

View solution in original post

4 Replies
sunny_talwar

May be this

If(CR_MONTH <> FROM_MONTH, Sum(PREMIUM))

Capture.PNG

nevilledhamsiri
Specialist
Specialist
Author

Thanks sunny,

As I applied it, Premium due to Jan was excluded. What to be done to exclude that entire record

RA00FRJanSepRA0014DF000145775007500
NovRA0017CF000141847004700
M4JanJanRA00144X00002435242.12 
DecRA00174F000054011028.7511028.75
MCJanJanRA00141D000373137775.66 
RA00171A000292425460.16 
RA00171A000292993373.75 
RA00171A000294712403.13 
JulRA00171A000287839535.0539535.05
AugRA00161X00023276504.866504.86
RA00171C000329623640.9123640.91
SepRA00121D00032502178.342178.34
OctRA00141D000373515101.4415101.44
NovRA00151X000208710672.510672.5
RA00171A000293262135.4862135.48
RA00171C000332613110.9413110.94
DecRA00151B00058709286.999286.99
TCJanSepRA0016TC00027236612566125
sunny_talwar

Are you using two expressions? Remove the first one

nevilledhamsiri
Specialist
Specialist
Author

Yes Sunny, Very sorry. Once removed it, it became alright

Thanks a lot