Forum Discussion
Phil-osophy
7 years agoHelper I
transaction matching
hey everyone! i have a follow up to my last post in regards to transactions. this time my data set problem is focused on trying to match the credit adjustments that correspond to a specific trave...
- 7 years ago
Hi Phil-osophy ,
To create two calculated columns as below.
Column = - IF ( Sheet1[transaction type] = "credit adjustment", [amount], BLANK () )
Column 2 = VAR a = CALCULATETABLE ( VALUES ( Sheet1[Column] ), FILTER ( ALL ( Sheet1 ), Sheet1[Employee ID] = EARLIER ( Sheet1[Employee ID] ) ), Sheet1[Column] ) RETURN IF ( [amount] IN a, "matched", "nope" ) - 7 years ago
v-frfei-msft
7 years agoCommunity Support
Hi Phil-osophy ,
To create two calculated columns as below.
Column = - IF ( Sheet1[transaction type] = "credit adjustment", [amount], BLANK () )
Column 2 =
VAR a =
CALCULATETABLE (
VALUES ( Sheet1[Column] ),
FILTER ( ALL ( Sheet1 ), Sheet1[Employee ID] = EARLIER ( Sheet1[Employee ID] ) ),
Sheet1[Column]
)
RETURN
IF ( [amount] IN a, "matched", "nope" )
Phil-osophy
7 years agoHelper I