Multiple sub-report based on dataset - visual-studio-2012

I'm working in Report Builder with an .rdl file and i was wondering if it's possible to basically add my entire .rdl report as a Sub-Report of itself and based on results in a dataset run that sub-report once for each result. Something like;
Dataset for 1 goal, would not run the sub-report since the main .rdl file will run for 1 goal, this is the way it is intended to work with an .rdl template;
I want to know if it is possible to basically turn the entire report into a 'grouped' element, that way if i have a dataset like this below, with 4 goals associated, the entire .rdl report will run one time for each result, 4 in the case below, and render the graphs and 'Goal Projections' for each iGoalID. Below is two of the four goals to give an idea what i mean, i'd want that to render for all 4
I have tried to just group everything in a rectangle, or even try to figure out if i could basically include the entire .rdl file in a table element to then group off of the iGoalID for multiple datasets, but I can't seem to find any way for this to be accomplished.

Related

How to conditionally include values in chart series

I have a data file where a new row is added as the test is processed, not necessarily in chronological order. it also contains data from multiple test locations.
https://imgur.com/a/Tj0Ly2E
Example of my data
I am looking for a way for each value in the series will only be included if the location is the same, so I can have 4 series on the graph each with a handpicked subset of the data.
I made the second graph in the above image by manually rearranging the data, but as this data comes out of a machine I have no way of changing it, and id like to be able to print updated graphs whenever I need to.
in addition I have a multitude of other graphs to and reports to run off this data so I cant manipulate it too much.
something along the logic of,
x series = for(i, count($B$2:$B$13), i++) (if ($A$i = "location_1", include(Sheet1!$B$i)))
I have never seen a function that can do something like this before, am hoping this problem can be solved in some clever way

Excel: find and order matches by column

I´m currently working with a huge epidemiological dataset with several Excel-files. The files contain pathology and clinical report for almost 30k patients. Each patient can have several pathology and clinical reports. The patients are assigned an unique ID.
I want combine all files into one so that ID for patient X001 would contain all the information form all the files. I cannot just copy/paste because the number of rows (IDs) in the files vary.
Here is an example of what I want to accomplish.
I want to combine two lists as follows.
As you can see that List1 and List 2 vary in row numbers. Also there are IDs in list1 that are not found in list2 and vice versa.
I want to merge them so that they align and match, see image below. Can someone provide a code for this? I cannot do this manually since I have 100k rows in list1 and 30k rows in list2...that would take several weeks to do with a risk of errors.
You can merge tables combined utilizing Excels built in Power Query, which can be found under the Data tab.
Note: Photos are taken from Excel 2016
The first step is to create the queries:
Within the Get & Transform section under the Data click on New Query -> From File -> From Workbook and select the appropriate workbook that has the table you want to merge
Select the appropriate sheets in which your tables are found, and confirm that they are displaying properly
If you notice that the table is not correct, you can make changes to it via the Edit button below.
For example, if you notice that your Column headers are being treated as a normal value, you can click Use First Row as Headers under the Power Query Editor Home -> Transform
I would also recommend changing the name of the query so it makes more sense down the line
Once you are happy with the way the query is looking, click on the Close and Load Dropdown menu under the Power Query Editor Home and select Close and Load To...
Select Only Create Connection to add it into your Workbook Queries without duplicating the table.
Repeat the above steps for each table in which you are looking to merge.
Once you have all of your tables linked via Queries, you can now move on to merging them:
Under the same section of New Query select Combine Queries -> Merge
Select the two queries you are looking to merge in each of the respective boxes
Confirm that they are correct via the preview window (don't worry if not all rows show)
Rule of thumb would also be to select your largest query first, and the smaller second
Next, highlight the columns in which you are looking to merge based on. For your example it would be the ID. This is done simply by clicking on the column within the preview
Finally change the Join Kind to Full Outer and click OK
From here you should be back in the Power Query Editor
The final steps are modifying this merged query to your desired output
You should notice that there is a new column added next to your first original table with the name of the query at the top, next to the name is a button that allows you to expand out this query.
Select the appropriate columns you would like to merge into the other table and click OK
If at any point you make a mistake, you can retrace your changes under Applied Steps within the Query Settings Pane
Once you are happy with the way your newly merged query looks, go ahead and click on Close and Load
Your should now have access to your new merged query that will update based on changes made to the original connected files
If you want to make any additional changes going forward from this point just click anywhere inside of the table and you should see both the Table Tools and Query Tools tabs appear at the top

Sharepoint2016 Custom List

Good Morning....
I am working on a project where I need to import several large excel Worksheets into a Sharepoint 2016 Custom List. The custom list already exists, but I cannot find a way to import these lists. There are approximately 11500 rows in the worksheets.
Is there a way to import these to existing lists?
In general:
If the columns are of the same type, and in the same order, you can display the list in the QuickEdit/DataSheet view and copy and paste from Excel to the list. You may want to create a new View to match the column layout in your Excel file.
This needs to be done in small batches, and it will take a long time. (A recent test using SP Online and FireFox with 4000 items took 40 minutes to paste the the grid, and then after clicking to exit the QuickEdit view, almost an hour to complete the update to the list. Also, there is no visual indication that this update is occurring. I open a second browser to monitor the number of items in the list.)
You may be better off writing a PowerShell script. Export the data to a CSV file and let PowerShell run in the background to process each row.

Extracting data from Web or PDF to Excel (not in standard columns)

I want to analyze salaries at the University of Illinois. Being a public institution they release all salary data but it's in a web and pdf format. One cannot sort by highest salary, department or do any other type of analysis on this. I'm trying to get this data in a table format for analysis.
On this link we have Salaries at the University of Illinois:
http://www.trustees.uillinois.edu/trustees/resources/17-18-Graybook/TOC.html
University of Illinois is composed of 3 campuses:
1. Urbana
2. Chicago
3. Springfield
Each campus is then broken out into Colleges:
In the above screenshot we are seeing Chicago Campus with colleges GF and FL.
Then when you click into the college, you can see the following:
At the top below Employee Name, you can see the College Name then under that is the Department then finally under that we have the names of employees and their salaries.
I want this data put into Excel Format
There is one more complication:
Some employees have two jobs as shown below:
So as an example, Corte, Anthony will show up on the list twice since he has two jobs then under both those jobs it will say "Employee Total for All Jobs". To start with, I want to just ignore the line "Employee Total for All Jobs". Then later on I will create a total myself either by putting the second job in a new column or some other solution.
Here's how I want it to look in Excel:
A PDF of the data is also provided here:
http://www.trustees.uillinois.edu/trustees/resources/GrayBook2017.pdf
What I've tried:
Convert PDF document to Excel. The problem with this is that I then have to manually reorganize the College, department headings into separate columns. In addition the "Employee total for all jobs" throws things off as it puts the name into two columns.
Copying from website into Excel. Again the same issue of the certain fields copying into multiple rows which then throws things off and have to be fixed manually.
I'm looking for ideas on how to put this data into a table format the easiest and fastest way (there are over 400 pages of data in the pdf). Any feedback would be appreciated.
Pdf is not a WYSIWYG format. Think of it more as a container of instructions for rendering than a plain text format.
That means the actual content for rendering a table may:
may be scattered over the entire stream (representing a page)
does not need to appear in logical reading order
words do not need to appear in the content stream as such (compression)
You can (sort of) make this work.
use iText to attach an IEventListener to the PDF. This listener will get notified every time a PDF instruction is processed.
There are 3 kinds:
PathRenderInfo (for drawing lines)
ImageRenderInfo (for rendering images)
TextRenderInfo (for rendering text)
If you already know all your tables will always have most of their lines drawn (rather than having an implicit table by text layout), you can implement some kind of algorithm that gather PathRenderInfo objects and aggregates them if the lines cross at straight angles. Then inspect those clusters to find tables.
Within those clusters, you can then attempt to find text by checking out the TextRenderInfo objects that lay within the boundaries of the table, and that have roughly the same alignment (indicating rows or columns).
This is certainly not easy, and in fact there are various thesis papers on how to do this, each with different approaches, and each with varying measures of success.
The alternative is that you use pdf2Data. An iText7 add-on that is capable of mapping templates to documents matching the template.
http://pdf2data.online/

Create charts with interlaced data

Is it possible to create charts using interlaced data in Excel 2007?
Example: 3 parts are in a test, and the app that collects data from them creates a CSV file with one line per part.
Example:
Part#,Voltage,Freq,Mode
001,3.453,6546,1000
002,3.542,6543,1000
003,3.484,6654,1000
001,3.453,6543,1000
002,3.642,6764,1000
...etc.
I would like to create a chart that plots the data from these three parts in their own series. I know that autofilter can be used to hide data from parts I don't want, but that only allows me to see one part at a time.
Furthermore, I would like to automate this process to create charts for an arbitrary number of parts. Is there a filter function I can use somewhere?

Resources