Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Power Query is converting a numeric column to true/false

I am loading a table into PowerBI via PowerQuery. One column is named "status", and has values of either 0,1,2,3. When I load it, the column is converted to True/False. Screenshots are of the column as seen in PyCharm, and as seen in the navigation step within PowerQuery. Please help, and thanks!

alillien_0-1658939005731.png

alillien_1-1658939058135.png

 

Edit: I believe the issue is that the string type in the database is "tinyint(1)=0" instead of just int. But how do I solve this?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable
3 REPLIES 3
Anonymous
Not applicable

amitchandak
Super User
Super User

@Anonymous , Change datatype to whole number or text and try

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I have tried that already, it loses the 2,3 values and converts to 0,1 values only. Same is true for all other number types.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors