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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Anonymous
Not applicable

Pivot values to columns

Hi,

 

I have an ID with 3 corresponding questions and a rate :

 

 ID   QUESTION   RATE

A1      Q1                 2

A1      Q2                 3

A1      Q3                 1

 

I would like to have this result :

ID   Q1   Q2    Q3  

A1   2      3       1

 

But I am not able to do it because I can't use RATE in "Values Column", why ? How can i do it, please ?

 

Thank you !

1 ACCEPTED SOLUTION

@Anonymous

 

Using PowerQuery simply add the raw data.

 

Then on visualisations area use a matrix object and add ID as rows, Questions as columns and Rate as Values. Image below

 

image.png

View solution in original post

3 REPLIES 3
themistoklis
Community Champion
Community Champion

@Anonymous

 

Are you using a matrix object in PowerBI?

Anonymous
Not applicable

Hi themistoklis,

 

Now for the moment I am building my model in Power Query

@Anonymous

 

Using PowerQuery simply add the raw data.

 

Then on visualisations area use a matrix object and add ID as rows, Questions as columns and Rate as Values. Image below

 

image.png

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors