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.
In Power BI Desktop, I'm building a query that starts with importing a view from SQL Server. Within the view is a column with type (INT, NULL). When I import the view, for some reason, it's being recognized as text. The weird thing is, I have another column in the view that's the exact same type, (INT, NULL); this column is being recognized as a whole number like I expected. I'll also mention that in creating this view, for the column that is not being recognized as a whole number, in the source table this column was originally text, which gets converted into an integer. Am I missing something, or is this actually the expected behaviour?
I'm also aware that there's options in Power BI Desktop to change the data type after it's been imported, however in doing so, it stops the query from folding. We need query folding in place because we're trying to apply incremental refresh to this table. Appreciate any comments/advice.
EDIT (2020/05/21): Also wanted to add that even though in Power BI desktop it's recognized as text, in the field itself, the value is italicized as if it is actually being recognized as a whole number. But in the column type label still shows up as text.
EDIT 2 (2020/05/22): Thanks for everyone's feedback. Not sure what changed but after importing a few more times again, the data type is now correctly showing up as a whole number. Maybe just a brief glitch?
Hi @Anonymous ,
Based on my test, it will be whole number type after importing from sql server. I really can't reproduce your issue. Please try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".
Best Regards,
Dedmon Dai
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 |
---|---|
72 | |
69 | |
55 | |
37 | |
35 |
User | Count |
---|---|
85 | |
66 | |
59 | |
46 | |
45 |