March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |