Per the M language specification, #sections[Section1] should return a record containing one field per query in the project, with that field's value set to the results of the given query.
Power BI Desktop and Excel work this way. However, Power Query in dataflows does not. This limits the ability to write M code that dynamically adapts based on the queries present in a project.
Can PQ in dataflows be fixed so that #sections[Section1] works according to the specification?
Thank you for your consideration!
To Reproduce
In both Power BI Desktop and in dataflows, create the following two queries:
- A—defined as '123'
- B—defend as '#sections[Section1]'
In both Power BI Desktop and dataflows, the output of B will be a record that includes a field named "A". In Desktop, this field's value will be 123 (expected behavior, per the M spec); however, in dataflows, this field's value will be null (incorrect behavior).
2 Comments
- fbcideas_migusrNew MemberStatus added:Needs Votes
- RickmaurinusHelper VVoted!
Recent ideas
Automatically match PowerBI chart background color to Powerpoint slide background color
Export PowerBI to PowerPoint slide - Can we define the PowerBI export background color to automatically match the PowerPoint slide background color ? By Default, the PowerBI background color is Whi...jim_chan2 minutes agoNew MemberNew0Views0likes0CommentsNew Card Visual - Alignment of Reference Label Values
The latest Power BI Desktop version I'm allowed to use at work currently is Version 2.154.1260.0 (May 2026), so if this request has already been implemented in later versions, please disregard. Othe...nk685f44 minutes agoAdvocate INew2Views0likes0CommentsSupport QR codes in the barcode scanner in the Power BI app
I was surprised to find that the barcode scanner inside of a Power BI report in the mobile app only supports scanning barcodes, not QR codes. Our warehouse uses QR codes everywhere, so I cannot use t...Jaap_O_RFH8 hours agoNew MemberNew15Views0likes0CommentsAllow enabling Lakehouse Schemas on an existing Lakehouse
Right now Lakehouse Schemas can only be turned on when you first create a Lakehouse. If you already have one running in production and later decide you need schemas, there is no way to enabled them o...AlessioAndriulo9 hours agoAdvocate INew14Views0likes0Comments