Power BI Paginated reports - powerbi-paginated-reports

The following expression return correctly a list of values to the textbox:
=Join(LookupSet(Fields!Division.Value, Fields!Division.Value, Fields!DischaegrCount.Value, "Metrics"),",")
However, when attempting to export to any office product or pdf, the PaginatedReport program retuns "object reference not set to an instance of the object"

Related

MS Access: Chart in report blank when underlying query has a parameter

I have a report in MS Access 16 with a chart in the Report Footer. The chart and the report have the same data source - a query ("Pipeline Query"). One of the criteria in Pipeline Query refers to a Combo Box on a form (Qtr = forms![Main Form]![Choose_Pipeline]).
The report and the chart at the bottom look great, however I get a popup saying
"The Microsoft Access database engine does not recognize 'forms![Main
Form]!Choose_Pipeline' as a valid field name or expression."
To fix that, I set a Parameter on the query for forms![Main Menu]![Choose_Pipeline]. This does eliminate the error message, but now the chart is blank! The query still returns the correct data and the data sections of the report work just fine.
Is there something with query parameters that interfere with charts in reports? Is there a workaround?
Update: When I wrote this I could have sworn the chart looked fine if the form reference was in the criteria but not the parameter. Now I can't replicate that and any time the query is dynamic and refers to the form at all, the chart is blank.

3rd party application passing url parameters to SSRS report

The 3rd party application is passing the parameter values as follows: Parameters=Collapsed&Priority=P1%7cP2. It is using a %7c (which is a pipe) instead of passing the parameters the way SSRS is looking for them as follows: Parameters=Collapsed&Priority=P1&Priority=P2. The parameter is multi select in SSRS and works in Report Builder just fine. My where clause is using IN (#priority).
How can I get SSRS to use the parameter values that are being passed in the URL?
If you can't change the application to provide the correct multi-value parameter syntax (...&Priority=Value1&Priority=Value2&Priority=Value3...) you can set the value that is passed to your dataset in the Parameters section of the dataset properties to be the following expression:
=split(Parameters!Priority.Value,"|")
This will take the pipe delimited list and separate it into a list of items that can be passed to your SQL query and used with the IN function.
I have created a dummy report to demonstrate this:
Parameter
Dataset
Dataset Properties
Report Result

SSRS Report date parameter values using SSAS Cube as datasource - Grey out unavailable values

i m building an SSRS report using SSAS cube as the data source. The report contains shared data-sets which provide the required data. below is the set up.
Sql server version : Sql server 2008R2
Report builder 3.0
I have, Report A, powered by Dataset D, running on Cube C. The dataset has 3 parameters out of which one of them is a date parameter- P1. I have it set up such that on the report there is another parameter - P2 which contains the type as Date ( to ensure the user is exposed to a date picker), the input from this, P2 is then manipulated to required format before fed into the dataset parameter P1 (hidden). I have two questions regarding this parameter.
Currently, when the user pick's a date (P2) which has no values, the report errors out as it doesn't find that corresponding member on the cube. Can it be made such that if the member doesn't exists, a simple error message like "date not found" pops up as opposed to report failing?
Secondly, can i manipulate the date picker (P2) exposed to the user such that the unavailable dates are grey'ed out on the date parameter (P2)?
Please let me know if there is any more info required on each of the questions.
Thanks

SSRS Report Dataset Parameter format discovery when querying Tfs 2010 SSAS Cube

I'm very new to SSRS and Report Builder, and I'm trying to throw together a simple report that shows data for a single changeset. I've created a different report already that takes date paramaters, and thanks to some lucky googling, I learned that instead of feeding date strings to the report parameters, it was necessary to use expressions such as:
="[DATE].[Date].&[" & Format(CDate(Parameters!FromDateDate.Value),"yyyy-MM-dd") + "T00:00:00]"
Finding this post was like winning the lottery because I would have never been able to figure that out for myself. Hence, for my changeset report, I figured I could use the following expression for my changeset parameter.
="[Version Control Changeset].[Changeset ID].&[" & Parameters!VersionControlChangesetChangesetID.Value + "]"
For my report, the VersionControlChangesetChangesetID parameter is just an integer. I got the dimension names by using the "Copy" context menu item in the query designer, assuming that these would be the correct identifiers.
However, I get the following error when running the reoprt:
The Value expression for the query parameter ‘VersionControlChangesetChangesetID’ contains an error: Input string was not in a correct format. (rsRuntimeErrorInExpression)
I have two questions about this.
Why isn't the expression I wrote working?
How can I learn better how to format these values, and how they're formatted inside the cube, so that I'm not just guessing when I run into these formatting errors?
Thanks!

How to pass Multivalued parameters through URL in SSRS 2005

I have main matrix report and I want to navigate my sub report from main report by
Jump To URL:(Using below JavaScript function) method.
="javascript:void(window.open('http://localhost/ReportServer/Pages/ReportViewer.aspx?%2fKonsolidata_Data_Exporting_Project%2fEXPORT_REPORT_TEST&rs:Command=Render&RP_cntry="+Fields!STD_CTRY_NM.Value+"&RP_cll_typ_l1="+Join(Parameters!RP_cll_typ_l1.Value,",")+"'))"
It is ok for the Single valued but giving exception for the multivalued
Like
An error has occurred during report processing. (rsProcessingAborted)
Cannot read the next data row for the data set DS_GRID_DATA. (rsErrorReadingNextDataRow)
Conversion failed when converting the nvarchar value '1,2,3,4' to data type int.
Basically I have defined Parameters!RP_cll_typ_l1 as multivalued into my subreport as per ssrs multivalued parameter passing method.
The value is going on sub report as '1,2,3,4' (not understandable by data set)
It should be like as '1’,’2’,’3’,’4' or 1,2,3,4
How can I resolve this please help if any have solution?
Thanks
Kali Charan Tripathi(India)
tripathi_soft#yahoo.co.in
kalicharan.tripathi#in.schneider-electric.com
To use multvalue parameters via URLAccess in SSRS, you have to repeat the parameter names for each value
So instead of
...&RP_cll_typ_l1=1,2,3,4&...
you would have
...&RP_cll_typ_l1=1&RP_cll_typ_l1=2&RP_cll_typ_l1=3&RP_cll_typ_l1=4&...