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
I have an issue with converting the data type of a column. The column contains numeric values (decimals) and one text value (NA). I want to keep the NA's as that accurately represents the nature of the data. However, when I try to convert this column to fixed decimal, it returns an error for all text values.
Is there a way that I can keep NA's and convert numeric values into fixed decimal type?
Thanks!
Solved! Go to Solution.
Hi @Anonymous ,
Just as what @az38 mentioned, it is not supported in Power BI.
One workaround, create a measure like so:
Measure =
VAR Data_ = SUM('Table'[Column1 - Copy])
RETURN
IF(ISBLANK(Data_),"N/A",Data_)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @Anonymous ,
Just as what @az38 mentioned, it is not supported in Power BI.
One workaround, create a measure like so:
Measure =
VAR Data_ = SUM('Table'[Column1 - Copy])
RETURN
IF(ISBLANK(Data_),"N/A",Data_)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
@Anonymous no, there is no such way to get text value as any number
@Anonymous , one idea is to extract number from it and mark the new column as decimal column. You have to add code to get decimal too
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 |
---|---|
64 | |
56 | |
54 | |
36 | |
34 |
User | Count |
---|---|
84 | |
73 | |
55 | |
45 | |
43 |