Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
klrameet
Contributor III
Contributor III

Summarization Problem in Dynamic Table

Hi All

I am trying to summarize the straight table that contains lot of data along with all the required columns in to a view to show the status of a report for the lastest cob date and maximum version for the event type = batch and event name = Batch and event rank = 1.

 

But my expression somehow is not fetching what I need ..

=IF(EVENT_RANK =1 and FEED_REPORT_STATUS_LOG_QV.EVENT_TYPE = 'Report' and FEED_REPORT_STATUS_LOG_QV.EVENT_NAME ='BATCH' ,
Aggr(FirstSortedValue(DISTINCT [FEED_REPORT_STATUS_LOG_QV.STATUS],-[FEED_REPORT_STATUS_LOG_QV.VERSION_NO]),[FEED_REPORT_STATUS_LOG_QV.COB_DATE],[FEED_REPORT_STATUS_LOG_QV.REP_NAME],EVENT_RANK))

Status.png

Any pointers would be helpful .. 

@sunny_talwar 

 

Labels (2)
1 Reply
sunny_talwar

How about this

FirstSortedValue(DISTINCT {<EVENT_RANK  = {1}, FEED_REPORT_STATUS_LOG_QV.EVENT_TYPE = {'Report'}, FEED_REPORT_STATUS_LOG_QV.EVENT_NAME = {'BATCH'}>} [FEED_REPORT_STATUS_LOG_QV.STATUS],-[FEED_REPORT_STATUS_LOG_QV.VERSION_NO])