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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Data Modeling Approach Question | Consultant to Client Model

Hello Power BI Experts,

 

Looking for some help on how to approach this project. I was given a flat CSV file with a small amount of data on clients and consultants in my firm.

 

On the far left, the first column contains client and 1 client can be listed multiple times to signify they are being serviced by one of our consultants. The the right of the first column are all attributes of the client (which again has duplicates)

 

On that same CSV file, there is a column for consultant name, and that shows all the consultant attributes (columns to the right), and of course shows which client they are assigned to. 1 consultant can be repeated multiple times because they are assigned to more than 1 client.

 

How do I correctly data model this. Considering the small volumn and small CSV file, do I just keep it the way it is? Is it fine as a flat file? Or is there a way to break this out into a data model and correctly be able to assign each consultant to a client? Not sure how to go about this, any thoughts would be appreciated.


Thanks!

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@Anonymous,

 

It’s best to model your data into a star schema, even if data volume is low. Power BI works best with a star schema, and it’s easier to create calculations. Also, if data volume grows, the star schema is scalable.

 

You can use Power Query to convert the CSV file into fact and dimension tables. To create the DimClient table, you can extract all client attributes into a separate table, and then remove duplicates. The same can be done for DimConsultant. You could create FactAssignment which associates clients with consultants, and any other attributes such as project name, start date, and end date. Once the tables are created, create relationships.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
DataInsights
Super User
Super User

@Anonymous,

 

It’s best to model your data into a star schema, even if data volume is low. Power BI works best with a star schema, and it’s easier to create calculations. Also, if data volume grows, the star schema is scalable.

 

You can use Power Query to convert the CSV file into fact and dimension tables. To create the DimClient table, you can extract all client attributes into a separate table, and then remove duplicates. The same can be done for DimConsultant. You could create FactAssignment which associates clients with consultants, and any other attributes such as project name, start date, and end date. Once the tables are created, create relationships.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.