Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
KReynolds
Frequent Visitor

Report Builder Query Designer

I'm working in Power BI Report Builder version 15.6.1532.5

Please help me understand why when I hit the "Query Designer" button in Dataset Properties, this window pops up and requires DAX.

KReynolds_1-1635860988270.png

But, most relevant searchers for help on the internet show this window appears after the "Query Designer" button is clicked, that seems to be using SQL.

KReynolds_0-1635860924522.png

 

1 ACCEPTED SOLUTION
GilbertQ
Super User
Super User

Hi @KReynolds 

 

This is because when using Paginated reports it is connecting to the Tabular Model which has a query language called DAX.

 

Previous versions of SQL Server Reporting Services connected to SQL Server and used the query language of TSQL.

 

You can drag and drop the columns into the Query builder and it will automatically create the DAX for you.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

View solution in original post

4 REPLIES 4
alwweb
Advocate II
Advocate II

I know this is an old topic, but since none of the answers really answered the person's question, at least not as the software is currently, I would add an answer.

 

If your data source is from a Power BI connection, then you will see the interface that writes DAX.  The data from the pbix files and from deployed Power BI datasets are stored as Tabular (SSAS) format or at least using the XVelocity engine from Tabular SSAS, and thus the usage of DAX.

 

If your data source in the report is an MS SQL Server or other supported relational data source then you will see the more commonly documented query designer which in my opinion is a LOT more confusing and less intuitive than the Query Designer in SSMS and also the one in Visual Studio from SSRS.

garythomannCoGC
Solution Supplier
Solution Supplier

Query Designer is a bug and should be removed/commented out 

Vote to have QD removed from the m$ code base.

GilbertQ
Super User
Super User

Hi @KReynolds 

 

This is because when using Paginated reports it is connecting to the Tabular Model which has a query language called DAX.

 

Previous versions of SQL Server Reporting Services connected to SQL Server and used the query language of TSQL.

 

You can drag and drop the columns into the Query builder and it will automatically create the DAX for you.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors