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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Column Wrapping in a Visual

Let's say I have a table with the numbers 1 to 9.  It displays in a table visual like:

1

2

3

4

5

6

7

8

9

 

I do not want it to display like that though.  I want it to wrap so the visual can be shorter and still show all the data, like this:

 

1      4      7

2      5      8

3      6      9

 

Is there a way to do this in Power BI?

1 ACCEPTED SOLUTION
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, I create a table to test.

Here is my test table:

30.png

Please take following steps:

1)Add an index column from 1 to 9:

31.png

2)Create two columns:

ColumnHeader = INT(('Table'[Index]-1)/3)+1

RowHeader = [Index]-3*('Table'[ColumnHeader]-1)

3)Choose matrix visual:

32.png

4)The result shows:

33.png

Here is my test pbix file:

pbix  

Best Regards,

Giotto Zhi

View solution in original post

4 REPLIES 4
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, I create a table to test.

Here is my test table:

30.png

Please take following steps:

1)Add an index column from 1 to 9:

31.png

2)Create two columns:

ColumnHeader = INT(('Table'[Index]-1)/3)+1

RowHeader = [Index]-3*('Table'[ColumnHeader]-1)

3)Choose matrix visual:

32.png

4)The result shows:

33.png

Here is my test pbix file:

pbix  

Best Regards,

Giotto Zhi

Anonymous
Not applicable

Hi,

looks fine what I would like to do. However I can't see the pictures, don't see the examples and I can't replicate.

I created the 2 header fields but not sure what to do with them on the matrix visual, help! Thanks!

Hi,

Share some data, describe the question and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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