Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I create a dax formula table in my powerbi report and I have ran code in python to select my workspace , select the report and then click on the table and click on export to excel.
My issue is that something strange is happening on this line code when I am selecting the report
I am using python selenium
driver.find_element_by_link_text("Metrics NewZealand").click()
when I re run the code with Katalon recorder , it appears to have exactly the same code , when I put it next to the original code
but when I replace it , it works.
Is there some form of font change happening.
Sorry I am a little confused. Do you mean the code works when you run it with Katalon recorder but fails when you run it directly on your computer? Is there any error message in Python command window? Does it find the element successfully?
Additionally, what is the link refer to? I am not clear about what you are trying to export. Can you clarify the steps "click on the table and click on export to excel"? Maybe you can share a screenshot about this step. It is more intuitive to help us know what you want. Remove sensitive info before sharing. Thanks.
Regards,
Community Support Team _ Jing Zhang