Skip to main content
Announcements
Happy New Year! Cheers to another year of collaboration, connections and success.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do I suppress duplicates in a straight table?

I can't use a pivot table for this, but I need to make sure that in the ITMSNumber column we are not showing any duplicates. PSAdupes.PNG

14 Replies
vinieme12
Champion III
Champion III

Don't load the duplicates in your data, why do you have duplicate rows anyway?

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Not applicable
Author

I'm asking the question so I don't have duplicate rows. I work in a large company so I don't know why there is duplicates. How would I go about writing an expression or a script to prevent loading duplicates?

vinieme12
Champion III
Champion III

Well the Question you asked was to hide the duplicate rows!

Anyways, firstly you need to identify what is creating those duplicates,

Are you doing a concatenation operation during data load, then add a flag to identify the source for your data for each record

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

if you don't want to do that exercise then just do

AGGR(concat(Distinct Fieldname),ITSMNumber) , in Calculated Dimension

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi,

Does the straight table has only two dimensions ITSM & Name?

If not then the other dimensions are causing the issue.  If Yes your expression should filter the duplicate rows.

Clever_Anjos
Employee
Employee

Please, try formatting ITMSNumber with more precision, maybe it has significant values after "."

Not applicable
Author

It has dimensions ITMSNumber, Name, AM Contact, Data Steward, Pr Yr, % Complete, Incomplete Fields, Data Ops Notes, IT Notes

vinieme12
Champion III
Champion III

this will work

AGGR(concat(Distinct Fieldname),ITSMNumber)


if your record has more distinguishing factors to identify a unique record then kep them adding to the AGRR()

else i would suggest using a key field that identifies unique rows Which i think should be ITSMNumber.

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
krishnacbe
Partner - Specialist III
Partner - Specialist III

Can you check only ITMS number & Name columns only have duplicate or entire row itself is duplicated.

I hope due to the Dimensions you have added it is showing distinct values. that is the representation of Straight table. If you don't want to view like duplicates then you need to convert the straight table to Pivot.