I have a script for auto update PBI (all code is here https://pastebin.com/8tJe05mt)
# Connect pywinauto print("Identifying Power BI window"