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

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

Reply
rebam12
Helper I
Helper I

data transformation

I have this type of question .. now i dont know how i map the data and create the graph.. 

 

Source

Values 1-6 

1

Not familiar

 

2

Do not trust at all

3

Slightly trust

 

4

Moderately trust

5

Mostly trust

 
 

Completely trust

 

 

Q2s1  Search engine *e.g google

Q2s2  GenAI answer engine *CHATGPT

Q3s3  Offical Prduct

and data is 

 

Now how should i map the data ..i try to unpivot the data but no results.

ID

Q2s1

Q2s2

                Q2s3

1

1

2

3

2

2

2

1

3

3

1

2

4

3

3

2

5

3

1

1

6

2

3

3

7 REPLIES 7
audreygerred
Super User
Super User

Hi! You would def want to unpivot in Power Query so that your data looks like below:

audreygerred_0-1727710991862.png

Then, in Power BI desktop you would join this table to the value field in the unpivot

audreygerred_1-1727711030389.png

And, you would join this table to the attribute field

audreygerred_2-1727711079108.png

 

 





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

Proud to be a Super User!





@audreygerred u mean i have to create 2 tables for join ?

These are the three tables you would have:

1.

audreygerred_0-1727711571227.png

2.

audreygerred_1-1727711592921.png

3. 

audreygerred_2-1727711605885.png

 

 

 





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

Proud to be a Super User!





elitesmitpatel
Super User
Super User

give us the dummy data and and output u want according to the dummy data

i already the paste the data.. and output i dont know .. this is waht i want.. how i create graphs from these tables

Greg_Deckler
Community Champion
Community Champion

@rebam12 If you unpivot the data in the 2nd table then you should be able to form a relationship between your first and seconnd table and display the text using RELATED. If you leave them unrelated you can use LOOKUPVALUE or MAXX( FILTER( .. ), ... ) to lookup the text value. Not sure what your ultimate end goal is though:

 

Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

THANKS

 

i tried many time to identify how should i vizuale the data but did not get any clue..

 

like if i drag ID on x axis AND values on y axis.. then how i cateogries the Q2s1...Q2s3 in one graph   and first how i transform the data

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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