When i am uploading incremental data into SPICE getting duplicate records , is there any configuration in Quicksight which help to avoid duplicate into Quicksight

How I could create this calculate field? I try created but I can’t. In this question I explain my problem Delete duplicate with Incrementally refreshing a dataset

If you could said me the solutions , will be amazing!

Thanks