Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 3 years ago.
Improve this question
I'm very new to QuickSight.
trying to move SSRS reports to Quicksight.the reports contains parameter which I'm creating SQLServer function and call it in quickSight with a sample parameter.
(Or use Custom SQL with the parameter value). but anytime I need to have report , I should change the parameter's value and refresh the report.
Question : Is it possible to have a parameterized custom SQL? or
function?
I tried to use filter , but I was not successful.
any idea?
you can add parameters in quicksight.
click parameters tab and press create one.
give parameter name, datatype, values.
you can also set a dynamic default by clicking it. select a database name, user name column and default value column and click apply.
after creating your parameter you can connect it to Filter, control, calculated field, custom actions.
here we can use filter.
click filter tab and press create one.
select your field name and in filter type, choose custom filter and tick mark use parameter and select the parameter which we created earlier and click apply.
if you want to add control, go to parameters and click the drop-down button of your parameter and click add control.
it will ask display name,style(text box or drop down) and click add button.
Related
I have written two reports in Report Builder. both reports use data from a property table so have unique identifiers eg Property ID.
I am trying to create a drill down from report A so that when you click on a row, it will open up a sub report that will show data from the sub report (Report B) that is specific to the property.
Both reports have the unique identifier EG. Property ID.
I can see how to add a sub report by going to Text box properties, selecting "Action" the selecting "Go to report" but that then opens up the complete report showing numerous properties rather than just the property that I click on.
My question is therfore how do I add a drill down to a second report that only shows the data if the Property ID's match?
I can't seem to find any guides online for this.
Thanks
You need to add a parameter in the properties of the Action.
The name should be the name of the parameter in the report you are linking to. The Value would be that Property ID you have. This way the sub-report will have the parameter value populated as soon as it loads. You can even choose to make it hidden at that point.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
how to add two columns in table. What's the right expression in this case.
Be informed that I have two dataset (Extra Deduction, Checklist), these two dataset has numeric column value, how to add these two columns with different dataset.
these steps I did (may it help):-
Open Visual Studio - New Project - in Business Intelligence section I chose Reporting Service.
Then right click on Reports folder then I chose "Add new report".
Then in Report Wizard I set Data Source name "DataSource1" and chose "Microsoft Dynamics CRM Fetch" connection type.
In Query Builder I put the XML query to bring the data that I want, it's contains two columns (Reference Number, Deduction value), dataset name is (DedctionDS).
Then I added one more columns in the table to get another value from another dataset.
Then I made the second dataset called (ChkListDS) with XML query to bring two columns (Reference Number, Checklist value).
In the new column in table, I made an expression to bring the value from other dataset, the expression is ( =Lookup(Fields!DedctionRefNo.Value, Fields!ChkListRefNo.Value, Fields!ChecklistValue.Value, "ChkListDS") ).
Until now the data are perfect, but I need now to make Summation between (Deduction value) and (Checklist value), which they're in different dataset .
Please see the below picture to know what i'm trying to do .
I hope I explained it very well .
Any help in this regard will be highly appreciated.
Thanks ..
If it were the same source of data (preferably SQL Server), I would advise you to use SQL join to create one dataset. However, it seems that there is a problem with that, so you have to user another strategy.
What I have seen in another project (not my code) is that you can use one datasource as the main one, and for each row of that datasource look for the matching rows in another one. This requires Lookup() function in SSRS, and you have obviously found that it is the way to correlate two datasets.
Only thing you have to do now is to get the number from the value you have received using the lookup function and add it to the column of your choice.
Your starting expression is:
= Lookup(
Fields!DedctionRefNo.Value,
Fields!ChkListRefNo.Value,
Fields!ChecklistValue.Value,
"ChkListDS")
To convert it to the decimal representation (I hope that is what you have in the database as source), you need CDec() function:
= CDec(Lookup(
Fields!DedctionRefNo.Value,
Fields!ChkListRefNo.Value,
Fields!ChecklistValue.Value,
"ChkListDS"))
And at last, you want to add it with your first value, like:
= CDec(Lookup(
Fields!DedctionRefNo.Value,
Fields!ChkListRefNo.Value,
Fields!ChecklistValue.Value,
"ChkListDS"))
+ Fields!{Your-deduction-value-field-name}
And if your-deduction-value-field in the database is not decimal, you have to cast it to decimal as well, using the same CDec() function.
I have created one report in SSRS-2012. I need to show/hide(not inactive) one parameter based on one formula. Is it possible. I am using Visual studio 2010 for my front-end development and report viewer control for showing the report.
Help me please
Currently there is no way to dinamically hide parameters in SSRS. Depending on your requeriments you may have two ways to handle this issue.
Create one subreport for all parameters and another subreport that does not include the parameter you want to hide, then show dinamically the subreport to the user based on your expression.
Other option is have another parameter set as internal. And conditionally populate that parameter based on your expression. If your condition yields true, populate the parameter with the user selection, otherwise use a default value or populate it to null. At presentation level your parameter keeps appearing but the user selection will take effect only based on your expression.
I think the second option is easier, let me know if you need further help.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I would like to send parameter from a report1 to report2 in action of textbox (in report1), I found just tuto for sending parameter to Subreports.
Some help
If both reports are located in the same project:
Select Go to report as the action for textbox in report 1
Select report 2 in the Specify a report dropdown
Click the Add button to create a new parameter mapping
Select the target parameter in report 2 in the Name column
Select the parameter you are sending from report 1 in the Value column, or create an expression that passes along the data you want to send.
That's it! Let me know if the reports are not co-located in the same project and I can send instructions on passing a parameter to report 2 via URL.
I am trying to develop a report in SQL Server Reporting Services using parameters.
I have created a searchable parameter (as described in the link below) which is working as it should. I want to expand the functionality so that I can make multiple searches before viewing my report.
My problem is that when I have searched and selected a value and seach for another value the selected is reset (this is because the parameter where I select is cascading to the one where I search). Is there any way I can 'save' my selected parameter so that I, in the end, have all the seached and selected values which I then can filter on?
Searchable parameter: http://romiller.com/2008/07/29/searchable-dependant-parameters-in-ssrs/
(My problem is the same as Peter Schmidts comment in the link above.)
Thanks
The only way I can think of to get the results you desire is to create separate dataset with a required parameter that depends on a search term from the other parameters...this is very hackish and requires a search on multiple values stored procedure. This would cause the report to postback after you select your search criteria then display another parameter dropdown after a second refresh where the user could select the desired id based on search terms and then finally clicking the "view report" button a second time.