Changing a Dataset for a visual in AWS Quick Sight - dataset

I am new to Quicksight and trying to change the dataset for a cloned visual.
I have created one analysis in AWS Quicksight which contains 6 different datasets from the same Datasource. See below:
There are two tabs (report 1 / report 2) in the analysis. I have cloned the below visual with Dataset: "Arora Waterfalls Website..." from Report 2 to Report 1.
But when I try to change the dataset from "Arora Waterfalls Website..." to "Arora All Webinar..." for the cloned visual in Report 1, the visual gets unselected and when I click on it shows the same dataset again: "Arora - Waterfalls Website...":
To conclude, is there any way that we can change the dataset for a cloned visual in QuickSight?

You cannot change a dataset for a visual after it has been added to the Analysis.
You will need to select the dataset you want to use, add a new visual and rebuild the chart as required.
A second suggestion: looking at your data sets, you seem to be pulling in different views/tables into multiple different datasets from one data source. If possible I recommend combining the different tables into one dataset, joining them together during ingestion. This will give you more flexibility duplicating views. Working with multiple datasets has number of limitations. This will help avoid the problem you are having trying to duplicate a visual.

Related

Excel like copy paste feature for adding data into grid using react and grid library

I am creating a kind of excel online application using react in frontend, Java in backend and Postgres database.I am using a library called ag-grid (community edition).
Now one of the feature i need is to copy and paste data in to rows
just as we do in excel.
The grid is going to be linked with the Postgres, all the data in the table in the DB is displayed into the grid and any change made into the grid will be reflected to the DB and vice-versa.
The specific need is, i need copy and paste feature, i need to paste the data which is, say copied from other excel in to my application. I should be able to create blank rows and i should be able to paste the data into those rows, if the blanks rows are less then it rows should get automatically added(as in excel) as soon as data (say multiple rows data) is pasted into a one or more rows.And when i choose to save the my application then data of grid should be saved to DB.
Is it possible to create this feature using ag-grid community ?
Is there any other library which is recommended for this purpose ?
If there is any resource or documentation available for this feature
then please point me.
Just in case if anyone stumbles upon this problem, I've found a solution from some another website. It uses processDataFromClipboard event of Ag Grid for a custom solution.
https://plnkr.co/edit/lM3OtCQxpJdapHQt?preview
The ag-grid community edition does not support CRUD operations with a server side model - the enterprise edition does:
https://www.ag-grid.com/javascript-grid-server-side-model-crud/
If you insist on using ag-grid community you will need to handle the editing/grid changes yourself, which should not be too hard. A good starting point would be the cell editing page:
https://www.ag-grid.com/javascript-grid-cell-editing/
In particular, you will need to listen to the cellValueChanged or rowValueChenged event:
https://www.ag-grid.com/javascript-grid-cell-editing/#event-cell-value-changed
The event params will provide you with the following properties:
newCalue
oldValue
column
colDef
which you can use to generate the update call.

How to update a stored procedure in a shared dataset used by multiple report projects at once?

Situation:
We can use the same shared dataset in different SSRS projects. We can deploy updated shared dataset to the same location on the web from multiple different projects. This is ok.
The problem: If we update shared dataset for one project (changing stored procedure that it uses) - how will we know where else in another projects the same dataset is used and needs to be updated. We don't know how to update shared dataset in all projects at once so they all use the same stored procedure after update. Do I have to go to each report project and update shared dataset manually?
Example. We have 2 projects:
- Report_AB
- Report_DE
Both use the same shared dataset: common_dataset. Both use also the same dataset deployment path: ServerName/Shared Data Sets
Then, in project Report_AB i go to the above dataset properties and change stored procedure behind it from stored_procedure_01 to stored_procedure_02.
After all my changes have been made I will check that into TFS.
Common_dataset in project Report_DE will stay still the same - so I would have to go to that report project and update that dataset as well and also check that in.
What if I have 5 different report projects using the same dataset and I don't really remember which ones are the ones that use it?? Do I have to go one by one and find them all first and then update shared dataset for each of those report projects?

Add Multiple Data Sets/Sources to BIRT Report

I'm currently working with BIRT and I am having problems trying to create a report with multiple data sources and data sets.
For example, let's say I have a wizard. This wizard allows the user to graphically select data sources in a list. After selecting a few data sources and finishing the wizard, I would like the report to be rendered with the selected data sources.
I have tried a few thing such as adding data sources/sets to an ElementFactory object, but that does not seem to work.
Does anyone know of where I can find documentation on this sort of thing? Possibly some pointers?
Thanks.

Combine Two Datasets from Different Selects into One Table in Report Builder 3.0

Can report builder 3.0 combine data from two datasets into one table?
I have scanned other questions here and found nothing with info relating to report builder directly. Most examples are C# code, but I am using report builder only. Can report builder do this?
Have you looked at the UNION function? You should be able to use that between the SELECTs to bring back both together.

Auto populating data into an existing Excel template

I was given an Excel template and have to automate filling it.
It is supposed to be uploaded every month into the grand central DB of our company. Grand central accepts nothing other than an Excel file with that template.
I tried reproducing the same using SSRS but it looks like SSRS has no control over rendering the looks and data in Excel (it keeps hiding columns and rows which is not acceptable). I have created a SQL connection on the Excel to get the stored procedure data into Excel.
Now I have to make sure the data goes into the template into appropriate fields. I think it needs groupings and page breaks also.
Please help..
You're on the right track with dumping SSRS as a way to export into the template. I've also found that the Excel rendering extension in SSRS does a lot of hiding and merging cells with certain report designs.
You will probably end up needing to write a script in your language of choice to load the data into appropriate cells on the template.
Here are some Powershell articles on Excel automation:
http://blogs.technet.com/b/heyscriptingguy/archive/2006/09/08/how-can-i-use-windows-powershell-to-automate-microsoft-excel.aspx
http://winpowershell.blogspot.com/2007/03/powershell-and-excel-com-object.html
Also take a look at Perl and the Win32::OLE module:
https://metacpan.org/pod/Win32::OLE
http://www.perlmonks.org/?node_id=153486

Resources