Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
hi all,
how can i write a DAX formula take the string inside the bracket out :
(apple) apple -> apple
(CW229) contract -> CW229
Thank you .
Solved! Go to Solution.
@ktt777 ,
new column
var _1 = search("(",[Column], ,0)
var _2 = search(")",[Column], ,len([column]) )
var _3 = if(_1=0,1,_1)
return
mid([Column], _3, _2 -_1)
@ktt777 ,
new column
var _1 = search("(",[Column], ,0)
var _2 = search(")",[Column], ,len([column]) )
var _3 = if(_1=0,1,_1)
return
mid([Column], _3, _2 -_1)