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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.