Forum Discussion
ishade
11 months agoRegular Visitor
Syntax for TOPN on Source Statement of Power Query
Hi, I would like to setup a report to show data of a 'Event' table of Salesforce (Alexis). I tried to prepare a DataFlow but got empty table but columns and got advise from raja1992 of the possible...
- 11 months ago
hello ishade
i am not sure but seems the last step is not correct.
the M code should put the previous step
you previous step is Navigation (sorry i dont write it in japanese)
or else, you can use the ribbon button so you dont have to type the code manually (the selection from ribbon should automatically detect the previous step).
Thank you.
Praful_Potphode
Super User
11 months agoBased on the screenshot,you will have to expand your data and convert it into a table.
Then You can try below step in power query
the number highlighted shows the number of records you want from the table