# How to another table in SSRS report

**URL:** <https://www.epiusers.help/t/how-to-another-table-in-ssrs-report/105757>\
**Category:** Kinetic ERP\
**Tags:** ssrs\
**Created:** [August 4, 2023, 2:50pm UTC](https://www.epiusers.help/t/how-to-another-table-in-ssrs-report/105757 "2023-08-04T14:50:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![carguy](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@carguy](https://www.epiusers.help/u/carguy)\
**Post date:** [August 4, 2023, 2:50pm UTC](https://www.epiusers.help/t/how-to-another-table-in-ssrs-report/105757/1 "2023-08-04T14:50:10Z")

</div>

I’m trying to pull in the address information for dropship addresses into the Ship To field on the POForm.

The dropship address is in the PORel table.

I can’t access the PORel table in the sub SSRS report from the main report file, POForm.

How do I add the table to the main POForm SSRS report so I can put the dropship address in the Ship To field?

Hopefully that makes sense.

 ![Screenshot 2023-08-04 at 9.46.53 AM](https://www.epiusers.help/uploads/default/original/3X/c/3/c3b418c3ee822fd3562d47d05da9a74cab8c9c30.png)

---

<div class="post-metadata">

**Author:** ![klincecum](https://www.epiusers.help/user_avatar/www.epiusers.help/klincecum/32/100137_2.png) [@klincecum](https://www.epiusers.help/u/klincecum)\
**Post date:** [August 4, 2023, 3:04pm UTC](https://www.epiusers.help/t/how-to-another-table-in-ssrs-report/105757/2 "2023-08-04T15:04:20Z")

</div>

You’ll have to edit the report data definition for the report. Some good posts on here.

Best to copy a definition, and then edit that one.  
Don’t forget to assign your new definition in report styles.

Let me see if I can find one of the good threads.

---

<div class="post-metadata">

**Author:** ![klincecum](https://www.epiusers.help/user_avatar/www.epiusers.help/klincecum/32/100137_2.png) [@klincecum](https://www.epiusers.help/u/klincecum)\
**Post date:** [August 4, 2023, 3:08pm UTC](https://www.epiusers.help/t/how-to-another-table-in-ssrs-report/105757/3 "2023-08-04T15:08:37Z")

</div>

> [@klincecum](#):
>
> Let me see if I can find one of the good threads.

I’m not finding the two I’m thinking of, but this one has a video in it people seemed to like:

> [@Report Data Definitions](https://www.epiusers.help/t/report-data-definitions/87296):
>
> Good morning! I’m working on modifying the ARForm Data Definition for a report. I need to add a column but I’m struggling with the relationships between this table and the existing DD. ARForm uses many calculated fields, and I’m wondering if there is a way to pull a DD into a BAQ to see the relationships? Otherwise as a newb to Epicor, not knowing the data model, I’m not sure how I’ll accomplish as much as I’d like. I sincerely appreciate your input and assistance!

---

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [August 4, 2023, 3:14pm UTC](https://www.epiusers.help/t/how-to-another-table-in-ssrs-report/105757/4 "2023-08-04T15:14:21Z")

</div>

The PORel table is part of the POForm RDD. If the fields are not available, all you have to do is include them in the RDD, add them to the report query, and add the fields.

![image](https://www.epiusers.help/uploads/default/original/3X/3/b/3b0a8373be14633dac49ac383a1fb69893fb8017.png)

---

<div class="post-metadata">

**Author:** ![carguy](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@carguy](https://www.epiusers.help/u/carguy)\
**Post date:** [August 4, 2023, 3:59pm UTC](https://www.epiusers.help/t/how-to-another-table-in-ssrs-report/105757/5 "2023-08-04T15:59:43Z")

</div>

I think my hangup is my inexperience with RDD and SSRS. I see PORel in my data definition. So that is there.

I don’t fully understand calculated fields. Seems like you’re adding a place holder field and then in SSRS you add the SQL in the Expression field/window. Unless there is a way to make calculated fields inside of Epicor?

Currently the standard ship to address is a calculated field. I added a calculated field in the RDD for the dropship address. Unsure how to link the data to that calculated field, unless it must be done inside of the SSRS report.

I still haven’t figured out how I can pull in/link the data from PORel into the main POForm report. Tried using the fields for the dropship data found in the PORel SSRS report, inside the POForm (main report) and it errors out. I would think it’s simple but I’m not seeing it.

Example… I don’t know how the data is mapped from the RDD to the SSRS. Watched a video or two but they never explained that.

 ![Screenshot 2023-08-04 at 11.01.35 AM](https://www.epiusers.help/uploads/default/original/3X/f/6/f6736c0bb2f23093fa552d8e8f43044c4bcafa48.png)

---

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [August 7, 2023, 12:39am UTC](https://www.epiusers.help/t/how-to-another-table-in-ssrs-report/105757/6 "2023-08-07T00:39:56Z")

</div>

OK! Thanks for letting me know where the disconnect is. I’m going to try and explain it in hopefully the best order.

RDD - All of the out of the box RDDs are created by Epicor. The calculated fields are hard coded into the RDD by them. The only way you can see inside is if you buy the SDK. This is why if you want to make any change to the RDD, you have to create a new copy. I usually just put a “\_c” at the end of all of my stuff. That way, it keeps it near its original in the searches and they are still easy to identify. (There are some RDDs that look like they have noting in them because everything is coded in the background.)

RDD\_c - Now that you have your own copy, you can include/exclude fields. Only include them if they are needed. Too many fields will ruin the performance. You can add new Tables and connect them. And the holy grail 🥃 of them all, the Linked Tables.

Include/Exclude Fields - Not much more to say other than there are labels! I never use them, they seem a complete waste. Maybe I never was taught a good way to use them. 🤷🏻‍♂️

New Tables - You can add any table in the database that you may want. However, there can only be 1 of each table, you can’t add a table under an alias for a table that is already there. If you add a table, you must join it to one of the existing tables.

Quick side note. The Data Sources from the RDD are the names of the tables that get created when you run a report. Every table there will be in the SSRSReports database as they appear, except with a “\_GUID” at the end. The GUID is the one that was generated specifically for the report instance you just ran.

Joins - So, if you added a new table, you need to join it to an existing table. Do not look at the existing tables and try to find all of their joins, they are not all there. Before you create a join for 2 tables that exist in the original RDD, run a report and test your data first. Again, created by Epicor and the join might be hard coded in the background. When you create the join, you should enter like the below:  
 ![image](https://www.epiusers.help/uploads/default/original/3X/7/3/7364b609faf5b5889dc74c56a4a120e4f8ee712c.png)  
Parent Table name then Child Table name. Same for the description. Choose the Parent Table. No Key. Choose the Child Table. Relation Type of Output.

Why those exact settings you ask? 🤷🏻‍♂️ I’ve tried the other settings and they always seemed to make the report not work. I’ve got no proof, just what I learned from experience.

Then, select the fields that join between each table. For any field you want to use as a join, you need to make sure the field is Included. Once you select all of the fields, you are all set.

Linked Tables - I’ll explain these later as you need to know more about the whole process to better understand.

Ok! The RDD\_c is complete. On to the next step, the Report Style!

To be continued…

---

<div class="post-metadata">

**Author:** ![carguy](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/f17d59/32.png) [@carguy](https://www.epiusers.help/u/carguy)\
**Post date:** [August 7, 2023, 6:35pm UTC](https://www.epiusers.help/t/how-to-another-table-in-ssrs-report/105757/7 "2023-08-07T18:35:06Z")

</div>

I did get this solved. Got stuck on a few things but got past them.

Thank you for all your efforts writing this up!
