Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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! | |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
68 | |
57 | |
51 | |
36 | |
34 |
User | Count |
---|---|
84 | |
71 | |
56 | |
45 | |
43 |