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
On page https://msdn.microsoft.com/en-us/library/mt260859.aspx the definition of Excel.Workbook has 2 parameters. In the code generated by PowerBI the function has a third parameter. More specifically, the second is always "null'", the third one is "true".
As a test I removed the "null" second parameter and now the tables loaded with the first line promoted as header, exactly as the second parameter is supposed to do.
What happened here? Does PowerBI generate incorrect code or is the definition page wrong or ?
Thanks in advance for your answer
Solved! Go to Solution.
The MSDN documentation is somewhat out-of-date. The best place to find up-to-date documentation is in Power Query or Power BI Desktop itself. Inside the query editor, if you enter the formula
= Excel.Workbook
you will see the most recent documentation for that function.
Best Regards,
Herbert
The MSDN documentation is somewhat out-of-date. The best place to find up-to-date documentation is in Power Query or Power BI Desktop itself. Inside the query editor, if you enter the formula
= Excel.Workbook
you will see the most recent documentation for that function.
Best Regards,
Herbert
Hi @FrankHazel,
I can report this issue internally, will update to you once get feedback.
Best Regards,
Qiuyun Yu
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |