Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I need to work on Automation of "Power BI desktop"(Not reports) such as upload data files,basic and advanced filters,drag and drop functionality,create charts,pie charts,slicer,graphs etc and click on same . But I am not sure which tool is best for it ? Because Power BI Desktop is CEF based application and many tools not supported desktop automation of such application. Can anyone suggest which tool/language is best to automate power bi desktop ?
Solved! Go to Solution.
I would suggest Microsoft Power Automate Desktop - Power Automate Desktop offers a range of actions to automate UI interactions with desktop applications, including those based on CEF. Power Automate and enable you to automate all repetitive desktop processes and It's a low-code solution, tightly integrated with the Microsoft ecosystem, and supports drag-and-drop actions .
I would suggest Microsoft Power Automate Desktop - Power Automate Desktop offers a range of actions to automate UI interactions with desktop applications, including those based on CEF. Power Automate and enable you to automate all repetitive desktop processes and It's a low-code solution, tightly integrated with the Microsoft ecosystem, and supports drag-and-drop actions .
Automating Power BI Desktop (PBD) itself — as opposed to automating reports or data refreshes in the Power BI Service — is a bit more complex, especially because Power BI Desktop is a CEF (Chromium Embedded Framework)-based application. Many traditional desktop automation tools struggle with applications built on Chromium (or similar web technologies), as they rely on browser-like rendering.
However, there are still several potential ways to automate Power BI Desktop through a combination of automation tools, scripting languages, and external APIs. Below are some options for automating tasks such as uploading data files, creating charts, applying filters, and interacting with the Power BI Desktop interface.
PowerShell is one of the most powerful and flexible tools for automating tasks related to Power BI. You can automate tasks like data refresh, publishing reports to the Power BI Service, and even manipulating data sources in Power BI models.
While PowerShell can be great for automating data loads and interacting with the Power BI Service, direct automation of Power BI Desktop interface actions (like drag-and-drop or applying filters) is not supported directly through PowerShell.
Pros:
Ideal for automating Power BI Service tasks (e.g., uploading files, refreshing datasets, etc.).
Well-documented cmdlets for Power BI automation (e.g., Get-PowerBIDataset, Set-PowerBIDataset, etc.).
Flexible for working with datasets, reports, and refreshes.
Cons:
Does not support direct UI-based automation in Power BI Desktop.
If your focus is on automation of report publishing, data refresh, or interaction with the Power BI Service, PowerShell is a good choice.
For desktop-based UI automation (such as simulating clicks, drag-and-drop, applying filters, creating charts, etc.), tools like AutoIt, SikuliX, WinAppDriver, and Selenium (WebDriver) can be used.
AutoIt (for UI Automation on Windows)
AutoIt is a powerful scripting language designed for automating Windows GUI (Graphical User Interface) tasks. It is widely used for automating desktop applications.
Pros:
Can simulate mouse clicks, keyboard inputs, window management (minimizing, resizing, etc.), and drag-and-drop actions.
Can interact with the UI elements in Power BI Desktop by identifying window controls (buttons, sliders, etc.).
Supports creating scripts to automate complex workflows within Power BI Desktop (e.g., file uploads, filter applications, chart creation, etc.).
Cons:
UI element-based automation can be fragile if the application’s UI changes or updates (e.g., new versions of Power BI Desktop might break the scripts).
Not as flexible or robust as browser-based automation tools.
I have updated question.Can you please look into it.
Hi @AnujaPatil
Your question is not clear. Please write a proper prblem statement and expected output of your problem. It may help other to give you solution more quickly..
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
69 | |
45 | |
39 | |
33 |
User | Count |
---|---|
158 | |
102 | |
60 | |
43 | |
40 |