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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a column with text, postive and negative numbers. How can I split these values in PowerBI?
Can you please help.
Solved! Go to Solution.
Hi @treesa2010
Try these codes to add custom columns with DAX:
negative =
Var _V = IFERROR(CONVERT('Table'[Values],INTEGER),BLANK())
return
if(_V<0,'Table'[Values],blank())
Postive =
Var _V = IFERROR(CONVERT('Table'[Values],INTEGER),BLANK())
return
if(_V>0,'Table'[Values],blank())
Text =
Var _V = IFERROR(CONVERT('Table'[Values],INTEGER),BLANK())
return
if(ISBLANK(_V),'Table'[Values],blank())
output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi @treesa2010
Try these codes to add custom columns with DAX:
negative =
Var _V = IFERROR(CONVERT('Table'[Values],INTEGER),BLANK())
return
if(_V<0,'Table'[Values],blank())
Postive =
Var _V = IFERROR(CONVERT('Table'[Values],INTEGER),BLANK())
return
if(_V>0,'Table'[Values],blank())
Text =
Var _V = IFERROR(CONVERT('Table'[Values],INTEGER),BLANK())
return
if(ISBLANK(_V),'Table'[Values],blank())
output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/