Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: Source Cells with Double Quotes Show "null" in Power Query

  1. #11
    Acolyte cyborgski's Avatar
    Join Date
    May 2019
    Posts
    26
    Articles
    0
    Excel Version
    Office 365


    Register for a FREE account, and/
    or Log in to avoid these ads!

    Hey great trick Norm! It pays to read the documentation!

  2. #12
    Seeker RoguePotatoes's Avatar
    Join Date
    Jul 2019
    Posts
    5
    Articles
    0
    Excel Version
    2019 (x64)
    Quote Originally Posted by NormS View Post
    Looks like you can trick PQ by having it use the first row as headers when opening the file (set the second argument in Excel.Workbook to true), then demoting the headers.

    Code:
    let
        Source = Excel.Workbook(File.Contents("C:\Users\Norm\Documents\Excel\ExcelGuru\5858.test1.xls"), true, true),
        Sheet2 = Source{[Name="Sheet1"]}[Data],
        #"Demoted Headers" = Table.DemoteHeaders(Sheet2)
    in
        #"Demoted Headers"
    Norm
    Hey this works perfectly, thanks!

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •