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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Transpose an object table

Hi everyone I know beforehand that there are many posts on this matter "transpose a table", but the table that I am trying to transpose is already in the canvas, and I just want to transpose after doing the calculation (count)

 

Imagen1.jpg

 

The original table is very simple two columns and 20 records

 

 

 

Best Regards

 

 

2 ACCEPTED SOLUTIONS
mahoneypat
Employee
Employee

Could you just use a matrix visual and put your field in columns, with nothing in the rows?

 

If this works for you, please mark it as solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

Based on your description, I created data to reproduce your scenario.

Sheet1:

a1.png

 

You may try to use a matrix visual with Columns as 'Case A' and Values as 'ID' to display the result.

a2.png

 

If you want to do a Transpose in Power Query, you may click 'Transform data', go to 'Query Editor', click 'Transform' ribbon=>'Pivot Column', set as below.

a3.png

a4.png

 

Then you may use a table visual to display the result.

a5.png

a6.png

 

Best Regards

Allan

 

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

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

Based on your description, I created data to reproduce your scenario.

Sheet1:

a1.png

 

You may try to use a matrix visual with Columns as 'Case A' and Values as 'ID' to display the result.

a2.png

 

If you want to do a Transpose in Power Query, you may click 'Transform data', go to 'Query Editor', click 'Transform' ribbon=>'Pivot Column', set as below.

a3.png

a4.png

 

Then you may use a table visual to display the result.

a5.png

a6.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Greg_Deckler
Super User
Super User

If you really must do a transpose: https://community.powerbi.com/t5/Quick-Measures-Gallery/TRANSPOSE/m-p/630229#M314


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
mahoneypat
Employee
Employee

Could you just use a matrix visual and put your field in columns, with nothing in the rows?

 

If this works for you, please mark it as solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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