Forum Discussion
Excel formula to DAX / maybe other solution (?)
Hello,
I would like to create in PowerBI additional column which will be based on exisitng column and we would see here just text after special character. In my case it's "#".
For example
Column A: TEST #DONE
Column B (the new one): #DONE
In excel I used below formula:
=IFERROR(RIGHT(A2200;LEN(A2200)-FIND("#";A2200));"-")
Thanks for help!
- Anonymous6 years ago
Hi PeterNowak ,
Create a calculated Column
Valuess =var search = SEARCH("#",'Table'[Split],, LEN('Table'[Split]))RETURNRIGHT('Table'[Split],LEN('Table'[Split])- search)Regards,
Harsh NathaniDid I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
3 Replies
- AnonymousNot applicable
Hi PeterNowak ,
You can do this is Power Query.
Regards,
Harsh NathaniDid I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
- AnonymousNot applicable
Hi PeterNowak ,
Create a calculated Column
Valuess =var search = SEARCH("#",'Table'[Split],, LEN('Table'[Split]))RETURNRIGHT('Table'[Split],LEN('Table'[Split])- search)Regards,
Harsh NathaniDid I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
- AnonymousNot applicable
You can also look at this video.
https://www.youtube.com/watch?v=Tkqc5pOWAKY&t=112s
Regards,
Harsh Nathani