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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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