Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
panwipa2528
Contributor III
Contributor III

How to select data last update (Expression)?

If I have data as excel (attach file)

I need 2 results as below

1. Count member uniq by status

StatusCount Member Uniq (Last Quarter)
A3
B1
C2

2.summary sale by member but show last status (Q4)

 

Member_CodeStatus (Q4)Sum Sale (Q1-Q4)
100001A970
100002A1,044
100003C1,628
100004C897
100005B829
100006A1,304
1 Solution

Accepted Solutions
Anil_Babu_Samineni

PFA

Capture.JPG

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

View solution in original post

2 Replies
Anil_Babu_Samineni

First one may be using this?

Dimension is Status

Expression

Aggr(Count({<Quarter = {$(=MaxString(Quarter))}>} Member_Code), Status)

May be for second one like below

Dimension is Member_Code

And expressions are

1) FirstSortedValue({<Quarter = {$(=MaxString(Quarter))}>} Status, -Sale)

2) Sum(Aggr(Sum(Sale), Member_Code))

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
Anil_Babu_Samineni

PFA

Capture.JPG

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