Skill: Connect to Power BI Desktop
Trigger
Activate when the user wants to connect to Power BI Desktop, mentions "connect", "pbi connect", "local instance", "no connection", or cannot run DAX/model commands.
Steps
- Make sure Power BI Desktop is open with a .pbix file
- Run:
pbi-agent connect --listto see open instances - Run:
pbi-agent connectto connect to the first detected instance - Run:
pbi-agent doctorto diagnose if connection fails
Common Issues
- No instances found: Power BI Desktop not open, or open without a file loaded
- pythonnet error: Run
pip install powerbi-agent[desktop] - Port in use: Use
pbi-agent connect --port <port>to specify manually