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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

How to make a merged cell type visual scroll with a long table?

DataLedAnalysis_0-1672412099255.png

I have a table that spans multiple columns, hence have to use scrollbar. However, GATE 2 textbox stays where it is when I am doing this. How would I achieve this?


Is there an easier way to put explanatory visual for three adjacent column headers like this in Excel:

DataLedAnalysis_1-1672412178745.png

 

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

Hi , @Anonymous 

According to your description, you want to create Multi-level tables.

First , in Power BI table visual. It cannot place hierarchical fields. If we want to realize it , we need to use the Matrix visual.

You can refer to this:
(1)This is my test data:

vyueyunzhmsft_0-1672629658184.png

(2)We need to create a custom table as a column header:

vyueyunzhmsft_1-1672629682911.png

(3)Then we can create a measure :

Measure = SWITCH( MAX('Headers'[Sort]),
1, MAX('Table'[For Info]),
2,MAX('Table'[Gate2]),
3,SUM('Table'[Variation]),
4,MAX('Table'[test]))

(4)Then we can put the field we need on the visual and we can get the  hierarchical fields:

vyueyunzhmsft_2-1672629729152.png

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

2 REPLIES 2
v-yueyunzh-msft
Community Support
Community Support

Hi , @Anonymous 

According to your description, you want to create Multi-level tables.

First , in Power BI table visual. It cannot place hierarchical fields. If we want to realize it , we need to use the Matrix visual.

You can refer to this:
(1)This is my test data:

vyueyunzhmsft_0-1672629658184.png

(2)We need to create a custom table as a column header:

vyueyunzhmsft_1-1672629682911.png

(3)Then we can create a measure :

Measure = SWITCH( MAX('Headers'[Sort]),
1, MAX('Table'[For Info]),
2,MAX('Table'[Gate2]),
3,SUM('Table'[Variation]),
4,MAX('Table'[test]))

(4)Then we can put the field we need on the visual and we can get the  hierarchical fields:

vyueyunzhmsft_2-1672629729152.png

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

amitchandak
Super User
Super User

@Anonymous , I doubt you can have that type of display, but for a similar display consider

 

column header grouping
https://www.daxpatterns.com/dynamic-segmentation/
https://community.powerbi.com/t5/Desktop/Matrix-Display-Values-above-Columns/td-p/256905
https://community.powerbi.com/t5/Desktop/grouping-measure-results/td-p/456795

 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors