Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Afternoon All,
I need a little help to get the below working as expected.
I have a table of income data, this would inclusde
Amount = Various values
Payment Date = date of payment
SourceCode = Structured source code to track payments
Payment Method = Cash, Direct Debit etc..
I have a custom column" that for the most par works, Everything below execpt the section in bold works. What i want to happen is
this exceprt from SQL
"case
when sourcecode like 'A%' and sourcecode not in ('AUGO','AUPO','AURO','AUTO','AUCO','AUFO','OOOO','OAMA','OANA',
'OARS','ZREF','ZBAN','NAUG','AWAO','BUSR') and sourcecode not like 'AV%' then '01_Cash'
"
I constructed the par in bold and while no errors i dont seem to see in my SourceType Column the CASH value returned?
IF anyone has any pointers please fire th
Solved! Go to Solution.
have you tried
IF(LEFT(SOUCECODE,1)="A" && NOT SOURCECODE IN {"XXX","XXX","XXX"}&&LEFT(SOURCECODE,2)<>"AV", "01_CASH")
Proud to be a Super User!
have you tried
IF(LEFT(SOUCECODE,1)="A" && NOT SOURCECODE IN {"XXX","XXX","XXX"}&&LEFT(SOURCECODE,2)<>"AV", "01_CASH")
Proud to be a Super User!
User | Count |
---|---|
93 | |
85 | |
76 | |
66 | |
62 |
User | Count |
---|---|
112 | |
97 | |
95 | |
64 | |
58 |