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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Data Not Pulling In Properly

I'm wondering why my binary indicator column is not properly pulling from Excel. In the query preview isBatchNumber is pulling properly. 

powerQueryPic.png

 

 

 

 

 

 

 

 

 

However, after the query executes, it is just full of 0's

databasePic.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I'm an idiot! I just had to sort my data the same in power bi data viewer as was in the Excel Sort.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I'm an idiot! I just had to sort my data the same in power bi data viewer as was in the Excel Sort.

Cmcmahan
Resident Rockstar
Resident Rockstar

Have you done any transformations or filtering on the isBatchNumber column?  If you could provide us with the full set of commands from the Advanced Editor window, I could help more.

Anonymous
Not applicable

Thank you for the reply Cmcmahan. The line of my query that is doing this 

 

#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Order", Int64.Type}, {"Material", Int64.Type}, {"Column3", type any}, {"Batch", Int64.Type}, {"MRP ctrlr", type text}, {"Order Type", type text}, {"Pr.Superv.", Int64.Type}, {"Act. start", type date}, {"Material Batch Number", Int64.Type}, {"isBatchNumber", Int64.Type}})

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.