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: 
sagarrahul
Creator
Creator

max date

this is my table and my fields below

CLM_XGEN_CLAIM_NUM

CLM_LEVEL_OF_CARE

ICD_CODE_LEVEL1_org

Claim_Type

ICD Code Blacklist

large claims

Value

status

clm_no

Max_date

Current_date

Differnce

clm_num

             

in max date i want max date of latest claim num but it should be only of main claims not supplementary claim

and in ICD Code Blacklist i want count of main claims only of ICD_CODE_LEVEL1_org

output i want :

CLM_INTIMATION_DATECLM_XGEN_CLAIM_NUMCLM_LEVEL_OF_CAREICD_CODE_LEVEL1_orgClaim_TypeICD Code Blacklistlarge claimsValuestatusclm_noMax_dateCurrent_dateDiffernceclm_num
04-Jan-2016RC-HS15-10325506-1SecondaryJ22-00-Not Outlier-04-Jan-201619/07/2016--
30-Nov-2015RC-HS15-10325506SecondaryJ22-111.000OutlierRC-HS15-1032550630-Nov-201519/07/2016--
24-Dec-2015RC-HS15-10329647SecondaryA01.0-111.000OutlierRC-HS15-1032964724-Dec-201519/07/2016--
06-Dec-2015RC-HS15-10326507SecondaryJ22-111.000OutlierRC-HS15-1032650706-Dec-201519/07/2016--
26-Jan-2016RC-HS15-10325506-2SecondaryJ22-00-Not Outlier-26-Jan-201619/07/2016--
01-May-2016RC-HS16-10349544SecondaryN39.0-010.000Not OutlierRC-HS16-1034954401-May-201619/07/2016--
31-May-2016RC-HS16-10349544-1SecondaryN39.0-00-Not Outlier-31-May-201619/07/2016--




-340.750OutlierRC-HS16-1034954401-May-201619/07/2016--
8 Replies
avinashelite

please share the sample data so that we can suggest the solution

sagarrahul
Creator
Creator
Author

how i can add sample data

ramasaisaksoft

Hi  Sagar,

Top 1 in the list ,Click to reply to that

then one more pop will open

there top of the right hand side you can find Use Advanced Editor

Click on that then you can find Attach File,So click on that and attach your sample dummy data Excel sheet.

PFA..

avinashelite

you could directly type the sample data in the reply or add your data to a excel file ...Click on replay >Top right > Use advanced editor > Bottom left you could see the attachment option

sagarrahul
Creator
Creator
Author

i not given full application of qlikview have just given an application  to use so

sagarrahul
Creator
Creator
Author

now can u help me in this

its my dump excel sheet

avinashelite

I don't see a proper sample data ...try like this

Temp:

LOAD

LM_XGEN_CLAIM_NUM

CLM_LEVEL_OF_CARE

ICD_CODE_LEVEL1_org

Claim_Type

ICD Code Blacklist

large claims

Value

status

clm_no

Max_date

Current_date

Differnce

clm_num;

Result:

LOAD

clm_no

Max(date_field) as Max

resident

Temp

group by

clm_no;

sagarrahul
Creator
Creator
Author

avinash ty for ur work but i want it expression

can u help me in this