drillthrough SSRS report error for AssignedTo parameter - tfs

I have created PieChart which is generating drillthrough report (TFS SSRS) based on parameters. I am passing two parameters, Microsoft_VSTS_Common_Severity & System_AssignedTo. I have given "All" as default to both parameters.
Drilldown report works fine with selected value for Microsoft_VSTS_Common_Severity & default (All) for System_AssignedTo
but gives an error if I pass any selected value for System_AssignedTo parameter.
The error says:
An error occurred during local report processing. Query execution failed for dataset 'datasetName'. Parser: The syntax for 'LastName' is incorrect.
Any help to resolve this problem?
Thanks.

Based on the error message, it's the issue for the column "LastName". Have you done any upgrade or change in the source table. Make sure the Column Name and data type is correct for "LastName" in the source table.

Related

Query string parameters are not working to slice the data after publishing report

I have created a report where I created one calculated column which holds the value of dynamic URL. It has ID as parameter and I want to slice the data based upon that after publishing. When I am publishing this report to powerbi.com and I am using this URL to filter out the data, it shows me all the data. The filters through URL is not working.
I just went through a blog and when publishing through query string parameter it says that it has a limitation that it doesn't work when it will be published to web. What does it mean?
Below is the calculated column:
https://app.powerbi.com/groups/ce347380-637d-4700-838f-f7b00294256c/reports/374c3b7b-18f0-46f6-b5ec-2c97cbb01611/ReportSection?filter=Append1/Append1[SIMPrjReqID] eq '"&Append1[SIMPrjReqID]&"'
where Append1 is table and SIMPrjReqID is a column on which I want to filter out the data dynamically.
Please advise!
it has a limitation that it doesn't work when it will be published to web. What does it mean?
This means that passing URL query string parameters to filter data works only when applied on the report's URL, as you see it in the browser's address bar when you open it in powerbi.com, and not on the URL that you get when you use Publish to web option to make it public:
This filter does not work, because you didn't specified the field name correctly:
?filter=Append1/Append1[SIMPrjReqID] eq '"&Append1[SIMPrjReqID]&"'
As noted in the official documentation, the filter is passed in this format URL?filter=Table/Field eq 'value', where Field is the name of the field. So your query string parameter should look like this:
?filter=Append1/SIMPrjReqID eq '"&Append1[SIMPrjReqID]&"'

How Boolean values should be stored in Google Sheets for Google Data Studio data source?

We use Google Sheets as data source in Google Data Studio reports.
There is a need to export some flags and use them in reports.
But none of formats for boolean values I've tried do not work in Data Studio.
I've tried following options:
TRUE/FALSE
true/false
1/0
yes/no
When I create new data source google sets default type as Text or Number. If I change type to Boolean manually then I get "The server encountered an internal error and was unable to complete your request" error message.
Is it possible at all?
I've just tried this with identical results. However I found I could create a working Boolean field as a calculated field in the data source (my Sheets column called mybooleanfield and populated with =0=1 for FALSE and =1=1 for TRUE, just to make sure):
case when mybooleanfield='TRUE' then true else false end
This calculated field is a proper working Boolean in GDS.

SQL Server report's saved URL as bookmark not working

I have report deployed on a SQL Server Reporting server. It has one multivalue parameter called 'Names' as a input for stored procedure which fetch data to display the result. In URL, I am adding all values selected for multivalue parameter are concatenating with '&' character.
I need to store this URL for further uses as a bookmark in my browser which is also working fine. Problem occurs when over a time one of the values for that parameter gets missing from the database then report comes blank.
Some points I would like to clear here:
Stored procedure is working fine even if some values are missing.
I could figure out that this might be because of that value is not present in the dropdown of 'Names' so it is unable to assign it before running the stored procedure. As a solution to this problem I tried to hide this parameter from report by clearing prompt box for 'Names', but I now get
The ''Names'' parameter is missing a value
When you upload the report (.rdl) into reporting server, make sure "Name" parameter has a default value, this way the stored procedure is able to get the default value even if the link is missing the "Name" parameter

Request to join tables in argis with the option returnGeometry

I have joined table in ArcGIS, when I do a query to get the data with the option returnGeometry = true, then the query returns an error "Unable to complete operation." If returnGeometry put in false, the query works correctly.
Has anyone encountered this problem and how to solve it?
Also, if you make a request with "return Ids Only", and further on the download link to go to the feature, I get the error "Invalid or missing input parameters."
The reason was that in the join table field name matching with the field containing the OID.

passing data-set as parameter in url ssrs

i'm trying to use the action option from a cell in a table(text box properties).
the action supposed to open a report from a URL.
this report gets 2 parameters: case_input ( the case_id in the cell, i get it from the data set), and id_pat (null).
i tried this link:
http:///Reports/Pages/Report.aspx?ItemPath=%2fKpiReports%2freport_bill_patient_oneTbl&ViewMode=Detail&case_input=(Fields!id_case.Value)&id_pat_input:isnull=true
but when the report opened i didn't get the value of id_case.
any ideas?
thank you...:)
make sure that the report you are trying to open using the URL is set to accept a null value for the id parameter.

Resources