Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
79 | |
53 | |
38 | |
36 |
User | Count |
---|---|
100 | |
85 | |
47 | |
45 | |
44 |