Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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! | |
User | Count |
---|---|
85 | |
77 | |
68 | |
49 | |
41 |
User | Count |
---|---|
111 | |
56 | |
50 | |
42 | |
40 |