Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
alalan
Frequent Visitor

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 have project name and what services we provided them. Later, while reporting I would like to know how many projects took "abc" services from us. I don't want to duplicate rows for same project name and different services as well as how do I capture this data from the CRM.

 

Capture.JPG

2 ACCEPTED SOLUTIONS
ebeery
Solution Sage
Solution Sage

@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

 

View solution in original post

Ashish_Mathur
Super User
Super User

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.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

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.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
ebeery
Solution Sage
Solution Sage

@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

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.