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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
dasingh9
Frequent Visitor

Data Modeling for Power BI using Raw Data

Hi,
In the current scenaio, I have two tables (WORKSHOPS_TABLE, APPOINTMENTS_TABLE) in the data warehouse (see attached screenshot). In each table, Faculty column may contain multiple values like "Arts,Law" for each StudentID and I have created db views against each table to split Faculty values into multiple records and performed UNION ALL to generate a result set. Finally, I created a Faculty wise report (a column chart) based on the result set.

In the new scenaio, I have access to only two tables (WORKSHOPS_TABLE, APPOINTMENTS_TABLE) and don't have access to create views on the DWH. I have to generate the same report in Power BI. I am just exploring how to prepare my model in Power BI so that I can generate the report in Power BI in an flexible and efficient way. Could you please suggest some approach to prepare the data model for the new scenario. [Refer Screenshots]

 

Cheers,

Davinder

 

 

Faculty Wise Report - Old SystemFaculty Wise Report - Old SystemFaculty Wise Report - New SystemFaculty Wise Report - New System

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

 

In the Query Editor window of PBI desktop, right click on the second column of the Workshops_Table and go to Split > Split b delimiters > Specify , as a seperator.  Under Advanced, select rows.

 

Hope this helps.


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

View solution in original post

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @dasingh9

 

You could prepare your data model in Query Editor. Assuminng that you have two tables (WORKSHOPS_TABLE, APPOINTMENTS_TABLE).

 

1. Go to Query Editor

2. select one table then select the column Faculty to Split column by Delimiter

3. select columns Faculty.1 and Faculty.2 with Ctrl and click Unpivoted Columns

4. Rename the Value to Faculty

5. Remove the column Attribute

6. do the same option for another table

7. Close and Apply

 

Then you could create the chart below.

 

Capture.PNG

 

For reference, you could have a look at my test pbix file attached below.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @dasingh9

 

You could prepare your data model in Query Editor. Assuminng that you have two tables (WORKSHOPS_TABLE, APPOINTMENTS_TABLE).

 

1. Go to Query Editor

2. select one table then select the column Faculty to Split column by Delimiter

3. select columns Faculty.1 and Faculty.2 with Ctrl and click Unpivoted Columns

4. Rename the Value to Faculty

5. Remove the column Attribute

6. do the same option for another table

7. Close and Apply

 

Then you could create the chart below.

 

Capture.PNG

 

For reference, you could have a look at my test pbix file attached below.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
Super User

Hi,

 

In the Query Editor window of PBI desktop, right click on the second column of the Workshops_Table and go to Split > Split b delimiters > Specify , as a seperator.  Under Advanced, select rows.

 

Hope this helps.


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

Thanks @Ashish_Mathur and Cherry, both the solutions worked well.

You are welcome.


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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors