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

Join 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.

Reply
IanCockcroft
Post Patron
Post Patron

Text changed to null by power query

Hi guys, I am debugging a report that wasnt showing comments from the source.

I narrowed it down to an anomaly in the power query.

I narrowed it down to a step in the transfomation.

the step that changers the text to a null doesnt even work on that column.

please see the screen capture.

 

#"Filtered Rows5" = Table.SelectRows(dbo_vw_FODSPRD_SourceFilesSLA, each ([Feed System] = "MXLN") and ([Batch Date] = #datetime(2023, 5, 16, 0, 0, 0))),
#"Renamed Columns" = Table.RenameColumns(#"Filtered Rows5",{{"Process Started", "Miles Process Started"}}),Capture1.PNGCapture2.PNG

 

any idea why?

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @IanCockcroft ,

Not sure why, but you can try the following to dig.

1.Delete the "Renamed Columns" step, then go to the "Filtered Rows5" step, rename column by right-clicking the "Process Started" column header again.

vyanjiangmsft_0-1685091451918.png

2.Rename other columns to see if the issue can occur also.

If all can't help, we maybe need the pbix without sensitive data to dig.

 

Best regards,

Community Support Team_yanjiang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Super User
Super User

@IanCockcroft If that code is taken directly from Advanced Editor that's really odd.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Hi Gregg, yes, its the 2 lines from the advanced editor.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.