Tablix Cells with Multiple Rows - mysql

I have a RDLC report like below,
I want Date,Name,GSTIN,Grams,Amount,CGST,SGST fields to RDLC with Date DESC order with multiple table
It allows me to only show record from one table (ex:tbl_stock_gold)
But I want to show from Three Tables (ie: tbl_stock_gold,tbl_stock_copper,tbl_stock_stone) like below,

Related

How to get the difference between two datasets from two tables in SSRS report

I have a SSRS report with two datasets. My report has two tables with fields from dataset 1 and fields from dataset 2 . I am trying to compare the difference between a column which both fields have. I used this expression :
=Sum(Fields!Current.Value, "dataset1") - Sum(Fields!Current1.Value, "dataset2")
But It gives me only the over all total showing on all rows in the table.
I need help on how to get the total on each rows
I used : =Lookup(Fields!CHGHOURS.Value, Fields!CHGHOURS.Value, Fields!CHGHOURS.Value, "dataset1" )
This is showing me a few values from dataset2, Not even the value is showing from dataset1.

Adding Totals for each column in table/Matrix with two row groups and a column group

I have a table/matrix with 3 groups, 1 column group and 2 rows groups.
I need to add a row at the bottom that will display totals on each column. I have tried working with the "right-click > Add Total" thingy but it only adds the static column "Total" but the grouped columns are blank; there's no expression.
How can I achieve this?
Your current design appears to have no numeric data to summarise, so when you add a total row, SSRS does not know what or how you want your aggregation to work.
You can manually add expressions to the textboxes total line, so if you wanted a count of results you could use something like.
=COUNT(Fields!AnswerText.Value)
If this does not help, explain what you want to see on your total row and how you would calculate it.

i want headers to appear in every after of each month in my SSRS report

i want row headers to appear in every after of each month in my SSRS report like in the picture below
reference
Create a calculated field that returns the month of the date. The can be done either in the dataset SQL or as a calculated field in the dataset.
Add a parent row group that is grouped on this new calculated field.
Right-click on the textbox where the date field currently is. Select "Insert Row" then "Outside Group - Below".
Delete the extra first column that was added when you created the row group.
The design should look something like this:
Notice that the Date field is inside the child row group. This means you will get rows for each date. The parent row group is grouped on the month calculated field. So it will repeat once per month.

SSRS matrix insert column outside group only shows first value from dataset?

In SSRS report I have the Matrix with one column groups (i.e. week day name) and row group by week_date and Analysis_Name. When I render report, it only shows like first DOC_ID in outside group. Any idea how to show all DOC_ID code in outside group?
Thanks.

How would I display two separate tables within the same query/report without combining each entry?

As of right now, creating a query with all records from both tables I want to display gives me every record for table b for the first record of table a, then every record of table b for the second record of table a, and so on.
SELECT *
FROM tblSales, tblRepair;
I want to be able to format these tables so that records from each table are displayed within a report, but separately (not joined). Both these tables contain sales data that need to be displayed and calculated together on a daily basis, but my problem right now is getting the data out of these tables and together in a format that doesn't join each record together.
Thanks in advance.
You can use a UNION query to combine both tables. I've added a dummy column to distinguish between the two tables:
SELECT *,'Sales' AS TheTable FROM tblSales
UNION ALL SELECT *, 'Repairs' FROM tblRepairs;
This will list all the Sales records first, followed by all the Repairs. You can add an ORDER BY clause to change this.
Alternatively, depending on the type of report you are creating, you could base the main report on one table and add a subreport based on the second.