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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Karolina411
Helper V
Helper V

Seriously need help with Report Builder Query functions - I am using a Saas/Tabular Model

I am attaching the .rdl file in hopes of desperate support with a field in my data set 

 

Step 1

 

Here is my dataset (from a Tabular SAAS model)

Karolina411_0-1719186133542.png

 

 

Step 1b

Karolina411_1-1719186133552.png

 

Step 2

 

 

Step 3

 

 

 

Result when I run the report

The end of the input was reached.

----------------------------

Query execution failed for dataset 'DataSet1'.

----------------------------

An error has occurred during report processing.

----------------------------

An error occurred during local report processing.

6 REPLIES 6
Anonymous
Not applicable

Hi @Karolina411 ,

The error message "The end of the input was reached" often indicates a syntax error or an incomplete command. Please ensure all table and column names are correct, and the syntax follows the DAX pattern. If you can get some data displayed after you click the link "Click to execute the query"? Besides that, please ensure that fields in your report match the fields in your dataset.

vyiruanmsft_0-1719200056030.png

 

In addition, you can refer the following link to query a SSAS Tabular model database:

How to query a SSAS Tabular model database using DAX functions

Best Regards

 added the Parameter under Parameters then added to the Query and Dax and get the same error: 
The query contains the 'PhysicianOrganization' parameter, which is not declared. (Microsoft Analysis Services)

Though I did add it in it is not recognizing it.  It is a Text Column

 

Karolina411_0-1719343744118.png

 

Thank you.  The dataset worked perfectly until I added the PhysicianOrganization PARAMETER.  it did not work when I selected 'Add from dataset' so I had coded the 7 options like the photo below.  I then referenced it in my dataset like this: FILTER(VALUES('Providers'[PhysicianOrganization]), ('Providers'[PhysicianOrganization] = VALUE(@PhysicianOrganization))

I then added it to the dataset 

Karolina411_2-1719239829967.png

 

Karolina411_1-1719239636051.png

 

Karolina411_0-1719239612832.png

 

Anonymous
Not applicable

Hi @Karolina411 ,

Please update the query as below and check if it can get works:

FILTER(VALUES('Providers'[PhysicianOrganization]), 'Providers'[PhysicianOrganization] = [@PhysicianOrganization)

 

Best Regards

Anonymous
Not applicable

Hi @Karolina411 ,

What is the data type of column 'Providers'[PhysicianOrganization]? Text type or Integer? Please update the filter context as below and check if it can work:

FILTER(VALUES('Providers'[PhysicianOrganization]), 'Providers'[PhysicianOrganization] =  @PhysicianOrganization)

Add filters to datasets, data regions, and groups in a Power BI paginated report - Power BI | Micros...

Best Regards

I did add that into Dax and get the same error: 
The query contains the 'PhysicianOrganization' parameter, which is not declared. (Microsoft Analysis Services)

Karolina411_0-1719343882243.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.