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 - I have this formula for a column in PowerBI:
Solved! Go to Solution.
Hi !
Sorry, you need to remove, the enclosed single quotes from column name;
=IF(LEFT('vBI_ClientBankAccounts'[Bank Account CUSIP],2)= "CD", "CD", IF(LEFT('vBI_ClientBankAccounts'[Bank Account CUSIP],3)= "TBS", "TBS", "AMMA"))
Hopefully above DAX will work.
Hi !
Please try using below DAX, enclosed table name in single quote;
=IF(LEFT('vBI_ClientBankAccounts'['Bank Account CUSIP'],2)= "CD", "CD", IF(LEFT('vBI_ClientBankAccounts'['Bank Account CUSIP'],3)= "TBS", "TBS", "AMMA"))
Regards,
Hasham
Hi Hasham - thanks for getting back to me. I tried this:
Worked perfect, thank you so much!
Hi !
Sorry, you need to remove, the enclosed single quotes from column name;
=IF(LEFT('vBI_ClientBankAccounts'[Bank Account CUSIP],2)= "CD", "CD", IF(LEFT('vBI_ClientBankAccounts'[Bank Account CUSIP],3)= "TBS", "TBS", "AMMA"))
Hopefully above DAX will work.