Only the first expression is working. The second expression is not working expression. Can you tell where I made a mistake?
IFS(IN([_THIS],SELECT(CAMPUS SCAN SHEET[AWB NO],[AWB NO]=[_THIS].[AWB NO])),"Already Scanned This Shipment"),Not(OR(
CONTAINS([_This], "CRP"),
CONTAINS([_This], "~"),
CONTAINS([_This], "`"),
CONTAINS([_This], "!"),
CONTAINS([_This], "@"),
CONTAINS([_This], "#")
CONTAINS([_This], "£"),
CONTAINS([_This], "€"),
CONTAINS([_This], "$"),
CONTAINS([_This], "¥"),
CONTAINS([_This], "%"),
CONTAINS([_This], "&")),"Re-scan AWN No")
A brotherly advice, in almost all of your questions you are making it very hard for people to help you. Kindly always :
Instead of posting the same question repeatedly in more posts, please focus on enhancing how you write your questions. Thank you much!
If I speak in simple language, then two error messages have to be shown. Is it possible from a single column?
I don't know as much English as you.
As well as the excellent suggestions @Joseph_Seddik made so that it will be easier for us to help you, I would also add that it is much easier for everyone, including the developer, if you indent your code correctly. I took your expression, and just formatted it with correct indentation, it is fairly obvious why this is not working:
IFS(
IN(
[_THIS],
SELECT(
CAMPUS SCAN SHEET[AWB NO],
[AWB NO]=[_THIS].[AWB NO]
)
),
"Already Scanned This Shipment"
),
Not(
OR(
CONTAINS([_This], "CRP"),
CONTAINS([_This], "~"),
CONTAINS([_This], "`"),
CONTAINS([_This], "!"),
CONTAINS([_This], "@"),
CONTAINS([_This], "#")
CONTAINS([_This], "£"),
CONTAINS([_This], "€"),
CONTAINS([_This], "$"),
CONTAINS([_This], "¥"),
CONTAINS([_This], "%"),
CONTAINS([_This], "&")
),
"Re-scan AWN No"
)
Why is the second expression not showing up?
Probably because you still haven't corrected the problem I pointed out above. However this is a guess because yet again you give us no details. We can't see the expression, we don't know the data structure and you haven't told us what you want to achieve.
Second Expression not work.
IFS(
IN(
[_THIS],
SELECT(
CAMPUS SCAN SHEET[AWB NO],
[AWB NO]=[_THIS].[AWB NO]
)
),
"Already Scanned This Shipment"
),
Not(
OR(
CONTAINS([_This], "CRP"),
CONTAINS([_This], "~"),
CONTAINS([_This], "`"),
CONTAINS([_This], "!"),
CONTAINS([_This], "@"),
CONTAINS([_This], "#")
CONTAINS([_This], "£"),
CONTAINS([_This], "€"),
CONTAINS([_This], "$"),
CONTAINS([_This], "¥"),
CONTAINS([_This], "%"),
CONTAINS([_This], "&")
),
"Re-scan AWN No"
)
Note: This expression could impact performance.
IFS(
....(The value of column 'GATE ENTRY NO') is one of the values in the list (The list of values of column 'AWB NO'
........from rows of table 'CAMPUS SCAN SHEET'
........where this condition is true: ((The value of column 'AWB NO') is equal to (The value of 'AWB NO' from the row referenced by 'GATE ENTRY NO')))
...."Already Scanned This Shipment")
You still didn't move the second half of your expression inside the IFS function, try this:
IFS(
IN(
[_THIS],
SELECT(
CAMPUS SCAN SHEET[AWB NO],
[AWB NO]=[_THIS].[AWB NO]
)
),
"Already Scanned This Shipment",
NOT(
OR(
CONTAINS([_This], "CRP"),
CONTAINS([_This], "~"),
CONTAINS([_This], "`"),
CONTAINS([_This], "!"),
CONTAINS([_This], "@"),
CONTAINS([_This], "#")
CONTAINS([_This], "£"),
CONTAINS([_This], "€"),
CONTAINS([_This], "$"),
CONTAINS([_This], "¥"),
CONTAINS([_This], "%"),
CONTAINS([_This], "&")
)
),
"Re-scan AWN No"
)
@graham_howe Show More, hilarious 🙂
I've added your point in the list. Thank you!
User | Count |
---|---|
15 | |
12 | |
8 | |
8 | |
4 |