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
harryli
Helper II
Helper II

Transfer the table from vertical to horizontal

Dear all, 

I would like to transfer the table from vertical to horizontal, like the following:

harryli_0-1658391900797.png

to be like:

Today Discharge | data*n

7 REPLIES 7
v-shex-msft
Community Support
Community Support

Hi @harryli,

Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
PC2790
Community Champion
Community Champion

Hey @harryli ,

 

You can try Power Query for the same:

Steps to be followed:

1) In Power Query --> Home --> Use Header as First Row

PC2790_0-1658397108862.png

2) And then in Transform section, click on Transpose option

PC2790_1-1658397152005.png

The outcome will be something like below:

Started from:

PC2790_2-1658397186485.png

Outcome as:

PC2790_3-1658397248529.png

See if it caters to your requirement

I think my situation is not like this.

I just wanna transform the display table.

from:

abc

1,2,3

to

abc|1, 2, 3

harryli
Helper II
Helper II

Today Discharge|A1001 A1002 …

or
Today Discharge|A1001, A1002, etc.

 

I would like to transfer like the above.

Thanks

SpartaBI
Community Champion
Community Champion

@harryli you want it as a measure? as a new table? I need more info :))
P.S. will appreciate your kudos while we getting there 😀

harryli_0-1658397058102.png

transfer to the following, the format is table/matrix:

harryli_0-1658397278605.png

 

SpartaBI
Community Champion
Community Champion

@harryli can you give more details? Not sure I understood.
Also, will be good to share a sample file of your requirement 

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.