This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
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
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.