Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Would someone be able to explain the correct usage of brackets in M. Particularly i'm trying to understand why this statement:
Html.Table(_, {"Style Number", ".style-number > SPAN:nth-child(1):nth-last-child(1)"})fails but this one works:
Html.Table(_, {{"Style Number", ".style-number > SPAN:nth-child(1):nth-last-child(1)"}})(The second one has double curly brackets while the first has only one). I understand that they are used to define a list. Is it just that the Html.Table function requires a list of list to work properly?
Solved! Go to Solution.
Hi @owneyjs15
This documentation and the example in it should give you more understanding of how the function works.
https://docs.microsoft.com/en-us/powerquery-m/html-table
Hi @owneyjs15
This documentation and the example in it should give you more understanding of how the function works.
https://docs.microsoft.com/en-us/powerquery-m/html-table
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.