Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello, dear community,
I have a table with the following format:
Description | Company | External ID |
FA 2023/48 | AAA | |
FA 2023/48 | AAA | |
adafafgagdfga | BBB | FA2023/48 |
asfdfasgdagagdsg | BBB | FA2023/48 |
I would like to create a new column named InterCo, that if the company is BBB and the External ID is equal to a trim description then "AAA-BBB"
So far I tried:
InterCo =
IF (
'table'[Company] = "AAA" &&
COUNTROWS (
FILTER (
'table',
'table'[ExternalID] = SUBSTITUTE( EARLIER('table'[Description]), " ","")
)
) > 0,
"AAA-BBB",
BLANK()
)
But without success.
Any suggestion?
Thank you very much,
Simao
Solved! Go to Solution.
or Is this what you are looking for?
Is this what you are looking for?
User | Count |
---|---|
106 | |
88 | |
81 | |
76 | |
73 |
User | Count |
---|---|
112 | |
104 | |
96 | |
74 | |
66 |