Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
100 | |
64 | |
44 | |
37 | |
35 |