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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Sara16
Helper III
Helper III

Performing a Merge or linking via separate tables?

Hi Team

 

Not sure if you can help me on this quest. . I have around 40 or so columns in my data relating to survey questions capturing sentiment of Strongly Agree, Agree, Neither agree nor Disagree and Strongly disagree. What I am hoping to do is to have one column which can filter the question (all questions) and the other capture the sentiment for that question fitlered. Hopefully this can be done relatively easy? I tried group by but didnt work - thinking maybe I need a table of some sort?

 

Sara16_0-1661385417256.png

Any assistance much appreciated 

1 ACCEPTED SOLUTION
Sara16
Helper III
Helper III

Hi @ryan_mayu 

 

Thanks for your assistance on this one - I have managed to solve the issue by ingestiging the same data twice and linking it by unique ID to get what I required. 

 

Appreciate all your efforts to assist in answering this question. 

View solution in original post

18 REPLIES 18
Sara16
Helper III
Helper III

Hi @ryan_mayu 

 

Thanks for your assistance on this one - I have managed to solve the issue by ingestiging the same data twice and linking it by unique ID to get what I required. 

 

Appreciate all your efforts to assist in answering this question. 

you are welcome





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

Proud to be a Super User!




Sara16
Helper III
Helper III

Sara16_0-1661831123378.pngSara16_1-1661831157544.png

 

Sara16
Helper III
Helper III

This might help 

Sara16_0-1661829899075.png

 

 

Sara16
Helper III
Helper III

It sure is but this is where I am stuck - my relationships wont work

Sara16_0-1661828729944.png

 

That's why I created the dim table. Then you will not get duplicated value and will not have many to many relationship





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

Proud to be a Super User!




I did create a dim table - and I cant do one to many relatonship 😞 Maybe it cant be done

Sara16
Helper III
Helper III

I have tried to create a DIM table but I dont know if this works? Is there a reference doc you can refer me to for this as I am hoping to have a slicer (for example) that looks at gender and the options to select from the slicer are Male, Female and X. I may have confused my self 😞 Any assistance would be great

is this what you want?





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

Proud to be a Super User!




Sara16
Helper III
Helper III

Sara16_0-1661820188413.png

Hoping to have a filter like this for the graphs (so for example you can slice the questions by gender, tenure, age etc).  However all questions and relevant answers are in two columns from transposing the data 

 

Sara16_1-1661820318896.png

I dont know if i need to separate and then create a relationship? 

 

can remove duplicates solve your issue? 

or you can create a new table

distinct (Questions)

that will help you to create a dim table and use the dim table to filter





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

Proud to be a Super User!




Sara16
Helper III
Helper III

Hi Ryan

 

Sorry one last question. The transpose of questions has worked a treat to get a graph on sentiment. However with the, is there a way I can filter sentiment questions in the column by another question within that column? (eg in the question column we capture sentiment but also demographic responses - I want to have a filter on the page where you can choose a demographic question and it will filter the sentiment questions) Do I need to separate them out? 

could you pls provide the sample data and the expected output?





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

Proud to be a Super User!




Sara16
Helper III
Helper III

Oh my gosh Ryan! Thankyou so much! This is perfect - I was searching all the forums and didnt even think of this - I am new Pivoting in tersm of "Transforming data". Cant thankyou enough 🙂 

you are welcome





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

Proud to be a Super User!




Sara16
Helper III
Helper III

Hi @ryan_mayu 

Thankyou for this - its sorted out one aspect (transposing - so simple!) 

Unfortunately I now have over 700 columns (they were in rows) that are survey respondents answers that wont work with any of my visualisations 😞 What I am hoping achive is to have the question column (which we sorted :)) followed by sums of the answers (so for the 700+ respondents in the columns). Hoping to achieve something like the below - is there a way to do this. 

 

Thanks for any assistance you can provide 

 

Sara16_0-1661395253406.png

 

@Sara16 

add more one step

select question column and unpivot other columns

1.png2.PNG

 

1.png

pls see the attachment below





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

Proud to be a Super User!




ryan_mayu
Super User
Super User

@Sara16 

you can try this

1.PNG

 

1. use header as first row

4.png2.PNG

 

2. transpose

5.png3.PNG





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

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors
Top Kudoed Authors