Hello,
I embedded a power bi report in a power pages and use custom JS to disable the navigation tab. Follow its the print where i insert the custom code that microsoft indicate to do that (Add a Power BI report or dashboard to a webpage in a portal - Power Apps | Microsoft Learn)

But sadly, that didn't work for me. Follow its the print of my power bi embedded in my power pages

Would anyone know a solution to this problem? If so, could you tell me the solution for this. Thank you in advance.