Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
How do I find the cause of the second part of this error?
How do I find out where it is trying to convert this to an int and stop it from doing so?
This column is not an int in PBI. If it's a SQL Server problem, why is the view created without any errors in SQL Server?
Why is this particular value in a varchar column being converted to an int?
The view is a union query. The value of concern is in the 'measure' column. That column is varchar is all the tables in the unions. In PBI desktop's data view the column is 'text'.
@Anonymous in order to further debug this, I would recommend opening up Power Query ("Transform Data"), navigating to the table/query in question, and walking back through each step to verify where the error occurred.
Verify what the data type of 'Comprehensive Diabetes Care - HbA1c Poor Control (>9.0%)' is, and whether the query is attempting to perform any conversions or transformations on this column, since that appears to be what is triggering this error.
Is this what you mean?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 21 | |
| 21 | |
| 21 | |
| 19 | |
| 11 |
| User | Count |
|---|---|
| 59 | |
| 53 | |
| 40 | |
| 31 | |
| 26 |