Write DAX queries with Copilot
You can use Copilot to write and explain Data Analysis Expressions (DAX) queries in DAX query view of a Power BI semantic model.
Enable Copilot
In Power BI Desktop, in the Preview features section
of the Options, enable DAX query view with Copilot.
- Open
an existing Power BI report or connect to published semantic model as live
edit or live connection. Alternatively, you can add data and create a new
semantic model and report.
- Go
to DAX query view, the fourth view available on the left side
of Power BI Desktop.
- Create
a new query tab.
- Open
Copilot by clicking on the Copilot button or using CTRL
+ I.
Power BI service or workspace:
- Choose
a published semantic model in a workspace.
- From
the context menu choose Write DAX queries. If Write DAX queries is
greyed out, you may need to enable Users can edit data models in the
Power BI service (preview) in the Power BI General section
of Workspace settings.
- Create
a new query tab.
- Open
Copilot by clicking on the Copilot button or using CTRL + I.
Write a DAX query
In a blank query tab, invoke Copilot with CTRL+I and
enter this request:
"Write a DAX query to show profit by product"
After a few moments I get a DAX query.
I can select run to see the results before
I keep the query.
I can conversationally make updates to my initial request.
Type in "Add in Orders" and hit enter and Copilot adds in
the additional measure. I can again run the query to see the
results.
When I select keep query, the query is added to the query tab.
Wonderful Article.Thanks for sharing this post
ReplyDeleteAI 102 Certification
Azure AI Engineer Certification
Azure AI Course in Hyderabad
Azure AI Engineer Training
Azure AI Engineer Online Training
Microsoft Azure AI Engineer Training
Microsoft Azure AI OnlineTraining
Azure AI-102 Course in Hyderabad
Azure AI Engineer Training in Ameerpet
Azure AI Engineer Online Training in Bangalore
Azure AI Engineer Training in Chennai
Azure AI Engineer Course in Bangalore