The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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?
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
121 | |
86 | |
76 | |
55 | |
46 |
User | Count |
---|---|
136 | |
128 | |
78 | |
64 | |
63 |