Transform to show first value in column

More
5 years 3 weeks ago - 5 years 3 weeks ago #21284 by pat.mccarty
Hello,
Looking for a transform that can just display the first value returned for a single column

Example data set::
COL1 COL2 COL3
147.79 MISC PAY 1
147.79 MISC PAY 2
147.79 MISC PAY 3
147.79 MISC PAY 4
559.47 HCCLAIMPMT 1
642.4 HCCLAIMPMT 1

In the below example result set would like to remove the repeating value of 147.79 in COL1.
Desired result set:
COL1 COL2 COL3
147.79 MISC PAY 1
MISC PAY 2
MISC PAY 3
MISC PAY 4
559.47 HCCLAIMPMT 1
642.4 HCCLAIMPMT 1

Thank you,
Pat
Attachments:
Last edit: 5 years 3 weeks ago by pat.mccarty.

Please Log in or Create an account to join the conversation.

More
5 years 3 weeks ago #21285 by admin
Hi Pat

Thank you for posting a detailed explanation.

Am I correct in my assumption that you what to show COL1 value only when COL3 value = 1 ?

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
5 years 3 weeks ago #21286 by pat.mccarty
no I would like to take the repeating value out of COL1
Please review the uploaded picture

I see what you are saying and and that would work if we did COL3 = 1 or 0

Please Log in or Create an account to join the conversation.

More
5 years 3 weeks ago - 5 years 3 weeks ago #21287 by admin
Hi Pat.

I have created a working example for you.
(Please see attached)
It compares the previous value with the current.
There are also other ways available


Mike
ETL Architect
Attachments:
Last edit: 5 years 3 weeks ago by admin.

Please Log in or Create an account to join the conversation.

More
5 years 3 weeks ago #21288 by pat.mccarty
Thank you. I will give this a go and let you know how this works out!

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save