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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi there! I have a column that has both text and numbers.
I need to format the numbers within the column to include a comma, but since the column also has text, it's not allowing me to apply a format to the cells that have numbers featured since the entire column has been data typed as text due to the "not available" text.
Thanks so much!
Solved! Go to Solution.
Consider the following measure/column:
FormattedPop =
IF(Table[Population NA] = "Not Available","Not Available",FORMAT(Table[Population NA],"General Number")) You for the "General Number" part, you can tweak it to your requirements.
Take a look here for format options: https://learn.microsoft.com/en-us/dax/format-function-dax
Proud to be a Super User! | |
Consider the following measure/column:
FormattedPop =
IF(Table[Population NA] = "Not Available","Not Available",FORMAT(Table[Population NA],"General Number")) You for the "General Number" part, you can tweak it to your requirements.
Take a look here for format options: https://learn.microsoft.com/en-us/dax/format-function-dax
Proud to be a Super User! | |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!