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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jaspijk
Helper I
Helper I

relations

Hi,

I've two tabels:

 

Employee Consult and Scanvragen MC. In the tabel Employee Consult are colomns with questionscores. The name of the colomn is the code of te question. The questions with the codes are in the second table, Scanvragen MC. I want tot report from te first table the quistionscores with the questionteks form te second table. I don't know how to do that.

 

Schermafbeelding 2020-05-25 om 14.51.31.pngSchermafbeelding 2020-05-25 om 14.53.09.png

6 REPLIES 6
jaspijk
Helper I
Helper I

Still not found a solution. Don't know how to pivot the first table in a correct way.

Anonymous
Not applicable

@jaspijk 

 

The idea is you first need to transport or pivot the first table in to something like: 

CodeEmployee 1 Employee 2
ECMW00160100
ECMW00260100
ECMW0036080
ECMW0046080
etc....  

Then once you related the 2 tables with Code columns, you can just drage code, question, employee scores to a table visual in the report.

 

However, you could provide the sample pbix file if you need a definite solution.

 

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

 

 

@Anonymous

Jacques

amitchandak
Super User
Super User

@jaspijk ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi,

Was my econd message clear enough for You?

,

 

thansks for your quick reply!

 

In tehe first tabel You see the colomns ECCO001, ECCO002, ECCO003, ....... The colomn-names are corespondending with a field in he second table 'vraagcode'. I want tot use 'vraagtekst' from the second table as the colomnames of the first to report the results. So instead of reporting ECCO001 with the everagescore of 89, I want to report the corrrespondeding text woth tehe score.

 

Now I get:

 

 

Schermafbeelding 2020-05-25 om 15.22.25.png

 

And I want:

 

'Dat de organisatie een duidelijke visie heeft' (text in the second table)

89

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.