Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a table in my data model that was loaded from a query. I have a column that came over as text. I need an additional column that has this column represented as an integer. No longer have access to the original data source so can't be done in power query. I tried the following from an example in the Help but it just results in error.
CONVERT(<Expression>, <Datatype>)
I type CONVERT(Table[MyTextColumn],INTEGER)
Error:
How can I accomplish what I need?
Hi @domtrump
Thanks for the reply from @lbendlin , please allow me to provide another insight:
In excel, the Syntax of Convert() function is that:
CONVERT(number,from_unit,to_unit)
Here are detailed description of this function:
CONVERT function - Microsoft Support
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cannot reproduce
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
11 | |
11 | |
10 | |
6 |