How to create an SSRS layout report dynamically - reporting-services

I want to create an SSRS report that displays tables dynamically.
The report can display one table or multiples tables horizontally as the following two samples . Sample 1 Sample 2
What is the best approach of solving the above report. I need the solution to be from Report Builder tool and explain in details how to create it using which data regions.
Thank you in advance.
B.Regards,
ITB Users.

I bet you could build this out using a multi-column report.

Related

Which is a better approach, using 2 sub-reports or 2 tablix in an SSRS report?

I have 2 different data sources, and data from both the sources needs to be displayed on a single page.
There are 2 different approaches for this,
- using 2 different tablix, where each tablix will be linked to a different data source and
- using 2 subreports, where each sub report is a seperate report which is referenced into the main report.
Which is a better approach?
Question is opinion based so I will add my 2 cents.
I heavily use SSRS and I really like using it.
If you are happy to use 2 tablix on a page and can combine/adjust showing relevant data then go for it.
But if you wish to keep logic/ data separate in two reports then go for subreport.
Personally I like and use subreport a lot. I use them mostly when my data becomes complex and I want to show data in a single table.
But you should also consider maintaining 2 reports in this case and also you should have to check/dependencies on child and parent report.
If your requirement is to display both reports on a single page, you should just use two tablix, one for each of your data source.

Is it possible to create a dataset from another dataset in ssrs?

I have created 2 datasets that return data from a web service.
now I want to merge those two datasets in a single dataset, is it possible to create another dataset that contains those 2 merged ?
PS: you can also propose new solutions
Unfortunately SSRS doesn't offer that feature. One alternative is using the Lookup and LookupSet functions to use both datasets together in the report, but this is not efficient for large datasets. If the data doesn't need to be live, another option would be to create a procedure that caches the joined data in a table on a schedule and then use that table in the report. If those options aren't adequate, you may want to look at using a different reporting tool such as Excel (with web services and power query) or Tableau (if you have licenses).

SSRS reports from multiple queries

I am trying work on a requirement using SSRS 2008 R2. The requirement is to create a detailed report which has main query(dataset1). And a column in this main query is used as a join or input to another query(dataset2).
I am trying to create a parameter and get the value for this from the main query or dataset1. How do I assign this parameter to dataset2? Also I will have similar situation to create dataset3, dataset4 etc and all this sub queries needs to be joined to dataset1.
Can you please help me what is the best way to do this?
In Dataset2, use a SQL variable in your query. SSRS will create a report parameter for you. Then go into this new report parameter and tell it that its available values should come from Dataset1.
Then repeat for the other datasets. :)

Grouping does not create in master details rdlc report formatting

I want to create a rdlc report using Microsoft Report Designer. Due to complexity of my data (the given below is just an example) I do not use View on Database side. So, I have to use seperate tables (data sources) for my report design. Now, as it can be seen the example below I have one report page and I want to show PERSONAL, FAMILY and JOB INFO for each person.
There are Textboxes on PERSONAL INFO section. The data is come from table_Personal,
There are a Table on FAMILY INFO section. The data is come from Table_Famiy,
There are a Table on JOB INFO section. The data is come from Table_Job
and all the three tables contain Person_Id column.
PERSONAL INFO
Name : Christof
Surname : Robin
Age : 45
FAMILY INFO
No----- Name----- Age----- Birt Place
1------ Sarah----- 12------ London
2------ Albert----- 16------ Manchester
3------ David----- 23------ NY
JOB INFO
No------ Company----- Start Year
1------- Xyz----------- 2005
2------- T Mobile------- 1999
3------- Day Inn------- 1993
My question is;
1) I do not want to use Subreport and do not combine these tables in db side by using view (I have searchhed, but for 3 or more tables it is impossible I think).
So, is it possible to create a master-detail report like above by grouping items (table, list, etc.) and without using subreport on rdlc? If so, could you explain a little bit please?
2) I have tried to create such a kind of report like that; I use a List and inserted all the textboxes and three tables above
to this list. I assign all the three tables as Report Data Sources. I make List.DataSetName = Table_Personal and List.Grouping settings
select Group on : Person_Id and some other combination. But, unfortunately I have not managed to create such a kind of report group like above.
Could you help me please by giving some advice and if you have some sample rdlc page source please? ...Shohel
Yes it is possible but I'd done it like 6 months ago, so I don't have any sample code right now.
I have done a lot of similar cases. One such case is there are a list of students and each student has a list of marks, a list of achievements, etc.
If I remember correctly I used one storedprocedure to get all the details of all the students. One dataset. And put 'em all in one tablix and grouped 'em.
The sub-lists (like the list of marks) are separate tablixes themselves and are inserted in textboxes of the main tablix.
Hope it helps! :)

SSRS automation

I need to build many different reports with exactly the same simple structure from many different datasets defined by many different queries. Specifically, I need a report which shows, in table form, the information stored in a table.
Is there a way of automatically generating these reports? Can I use VBA or something to, for each table:
- set up a dataset based on the query "select [tablename].* from [tablename]
- title the report from [tablename]
- display all fields retrieved in a table?
Many thanks in advance
Nick
The closest I have seen to this is the Data Profiler reports produced by the Kimball Group:
http://www.kimballgroup.com/data-warehouse-and-business-intelligence-resources/data-warehouse-books/booksmdwt/
You can make a mashup based on their "2 Columnlist" and "3 ColumnDetails" reports to get what you want.