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
I constructed the par in bold and while no errors i dont seem to see in my SourceType Column the CASH value returned?
SOURECTYPE =
IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "A" && 'Fundraising Inc Report'[Payment Method]="TAX",
"TAX",IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "A" && 'Fundraising Inc Report'[Payment Method]<>"TAX",
"Appeals",IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "C",
"Corporate",IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "E",
"Emergencies",IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "L",
"Legacy",IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "M",
"Major Donor",IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "R",
"Community",IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "U",
"Unattributable",IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "Z",
"Refunds/Fees", IF(
'Fundraising Inc Report'[SOURCE_LETTER] = "A" && NOT
(SEARCH("AUGO", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("AUPO", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("AURO", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("AUTO", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("AUCO", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("AUFO", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("OOOO", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("OAMA", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("OANA", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("OARS", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("ZREF", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("ZBAN", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("NAUG", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("AWAO", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("BUSR", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("AUGO", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0 ||
SEARCH("AV**", 'Fundraising Inc Report'[Source Code (Source Campaign)] ,, 0 ) <> 0), "Cash",
IF('Fundraising Inc Report'[SOURCE_LETTER] = "0",
"000 Various", "MISC"
)
))))))))))