
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
count duplicated value in QVD
Hello Experts,
I want to generate output variable in my qvd file, please help.
- Tags:
- duplicated
- values
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Left join(Table)
LOAD ID, FID, count(ID) as Output
Resident Table
Group By ID, FID
Otherwise you'll get 1 for each row.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please try this as expression where ID and FID are dimensions in straight table:
=Left(aggr(Rank(FID),ID),1)
Thanks,
Angad

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
A Group By on Load should do.
Assuming you just wanna test this from you qvd file, and no null in ID:
CountTable:
LOAD ID, FID, count(ID) as Output
FROM Table.qvd(qvd)
Group By ID, FID
;
If you wanna load other data from the qvd, better do the Group By after on Resident table, it should be faster:
Table:
Load *
FROM Table.qvd(qvd)
;
Left join(Table)
LOAD ID, FID, count(ID) as Output
Resident Table
Group By ID, FID
;
Hope this helps


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Left join(Table)
LOAD ID, FID, count(ID) as Output
Resident Table
Group By ID, FID
Otherwise you'll get 1 for each row.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks mate, appreciated your help!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks mate, appreciated your help!
