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
Hi,
i need to cut die the domain from an e-mail columns, i tryed the command:
Domain1 = LEFT(Tabelle1[Column1];FIND("@";Tabelle1[Column1]-1))
And iam wondering that i have two diffrent Error Codes.
How can i fixed this?
Thanks
Solved! Go to Solution.
Hi,
You can do this so much easier via the Query Editor and use the split column transformation and split by @
BR
Erik
@ThoSch then you can use the last parameter of FIND function - NotFoundValue and set it to 1. If you want blank, when there is no @ in email. If you want the text, then insert IF function as well.
Regars.
Pavel
Hi,
You can do this so much easier via the Query Editor and use the split column transformation and split by @
BR
Erik
Thanks, the solution is working fine for me.
Hi @ThoSch. Subtracting by 1 should be after FIND function. DAX should be as:
Domain1 = LEFT(Tabelle1[Column1];FIND("@";Tabelle1[Column1])-1)
Regards.
Pavel
thanks, that solved one problem, but if there is empty field, i have the other error.
@ThoSch then you can use the last parameter of FIND function - NotFoundValue and set it to 1. If you want blank, when there is no @ in email. If you want the text, then insert IF function as well.
Regars.
Pavel
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 | |
86 | |
77 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |