Forum Discussion

alalan's avatar
alalan
Frequent Visitor
4 years ago
Solved

Help to define metadata

Hi Folks! I need your brain to know how do I create a metadata for my database which will be captured from the CRM and I will use for reporting later. As you can see in the attached picture, I ...
  • Anonymous's avatar
    Anonymous
    4 years ago

    alalan can you explain what you mean by "I don't want to duplicate rows for same project name and different services"?

    It seems to me that in order to make any meaningful use of this data it would need to be in the form:

    Project Name - externalServicesSector
    Test1Interior DesignHospitality
    Test1ConstructionHospitality
    Test1DocumentationHospitality
    Test1Construction ServicesHospitality
    Test1Town PlanningHospitality
    Test2FeasibilityMulti Residential
    Test2Town PlanningMulti Residential
    Test2Interior DesignMulti Residential
    Test2ConstructionMulti Residential
    Test2DocumentationMulti Residential
    Test2Construction ServicesMulti Residential


    If you wanted to further normalize and reduce the redundancy of the "Sector" info, you could have two tables like below, related through a one-to-many relationship.

    Project Name - externalServices
    Test1Interior Design
    Test1Construction
    Test1Documentation
    Test1Construction Services
    Test1Town Planning
    Test2Feasibility
    Test2Town Planning
    Test2Interior Design
    Test2Construction
    Test2Documentation
    Test2Construction Services

     

    Project Name - externalSector
    Test1Hospitality
    Test2Multi Residential

     

  • Ashish_Mathur's avatar
    4 years ago

    Hi,

    With the current data layout, there is nothing that you can do at all.  To get any meaningful analysis, you must ensure that each service appears in its own cell (which also means that in the Project Name and Sector columns, the entries will repeat.