Skip to main content
April 18, 2025
Question

Inserting Data into Excel

  • April 18, 2025
  • 1 reply
  • 1 view

Sure, here's a clearer and more structured version of your text:


Hi Everyone,

I have a requirement involving two tables:

  1. Tyre Data Table:

    • Columns: TyreID (Primary Key), PartNumber (Foreign Key)
  2. Country Restriction Table:

    • Columns: ID (Primary Key), PartNumber (Foreign Key), Country Name, IsActive (Boolean)

These tables have a one-to-many relationship. For example, if we have a tyre with TyreID 1, there could be 150 entries in the Country Restriction Table for this tyre. Let's say for TyreID 1, it is active in India and the US. In this case, the IsActive column would be 1 for India and the US, and 0 for all other countries(all remaining rows).

Export Requirement:

We need to export the data in the following format:

PartNumber Country1 Country2 Country150
12345 1 0 1

1 reply

davidj137213
April 20, 2025

IMport the data into your process, and generate a dataset with the information in the format needed... after that export that datasset into excel.