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: 
Anonymous
Not applicable

To eliminate the duplicate record in display of St Table

How to achieve the sum when certail dimension is need to have distinct values,based on the 'SUBMISSION'Id numbers all dimensions and meaures need to display the distinct Sum of measures.Can any one help on how to write this in case of If else Logic or any other way to achieve these?

Please look into the 'SUBMISSION'=173098570 is repeating twice in my data source how to eliminate the duplicate record in expressions and also in dimensions?Please do the needful?Thanks

     

SUBMISSIONFINALREPORT_DIVLINEEXPIREEFF_DTGRS_WRTNWRTN_ANNYearMonth
173098570A21Audi105/01/1516742224.35616420154
695943290A21Audi105/01/155543554320154
89716300A21Audi105/02/1518411301.30958920154
871874386A21Audi105/03/15448124481220154
970117696A21Audi105/04/153508350820154
173098570A21Audi105/05/1516742224.35616420154
386046060A21Audi105/06/15710937109320154
754762885A21Audi105/07/15125621256220154
132635694A21Audi105/08/152500250020154
528583353A21Audi105/09/15240782407820154
1 Solution

Accepted Solutions
sunny_talwar

Use this as your expression:

=Sum(aggr(avg(EXPIRE), SUBMISSION))

Capture.PNG

View solution in original post

5 Replies
Anonymous
Not applicable
Author

They have different values for EFF_DT so they are not duplicates per se.

sunny_talwar

Use this as your expression:

=Sum(aggr(avg(EXPIRE), SUBMISSION))

Capture.PNG

Anonymous
Not applicable
Author

Is there any other way to achieve these.For real data set i am not getting desired output.

Is there any possiblities to write logic of if else logic if(distinct(SUBMISSION),sum(GRS_WRTN),'')

Above is also missing logic can you pls correct me

Anonymous
Not applicable
Author

Is there any other way to achieve these.For real data set i am not getting desired output.

Is there any possiblities to write logic of if else logic if(distinct(SUBMISSION),sum(GRS_WRTN),'')

Above is also missing logic can you pls correct me

sunny_talwar

I am unaware of another way to do this. May be if you explain what is still not working, we might be able to help you out.

Best,

Sunny