Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

M Query to get all records for Web as data source ( JSON )

Hi Community,

 

I have a M query like shown below . 

 

let

Source = Json.Document(Web.Contents("myURLhere", [Headers=[Accept="application\json", Authorization="Bearer Mytokenhere"]])),
#"ExplodeTable" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
Column1 = ExplodeTable{0}[Column1],
results = Column1[results],
#"Converted to Table" = Table.FromList(results, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"Name", "Software Type"}, {"Column1.Name", "Column1.Software Type"})
in
#"Expanded Column1"

 

This is working fine . However, i am just receiving only 1140 records . The total records should be 1350 . I am not able to get next pages records. 

 

Could some one please help me to get all other records ? 

 

thanks,

G venkatesh