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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
ak77
Post Patron
Post Patron

static Column Header for columns

Hi team,

 

i have the below requirment. The user needs a static header for some columns of TABLE vizualization as below. is there a way to achive it? please help.

 

if i add a label on top of the columns.. the alignment changes when the table scroll happens. 

 

Please help.. This is TABLE vizualization

 

ak77_1-1690824191691.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @ak77 ,

I created some data:

vyangliumsft_0-1691030259679.png

Sorry, according to the research, it is not possible to add a column as a header above the table Visual, your data column exists at the top, this is due to the design of Power BI.

You can also submit an idea for it at https://ideas.powerbi.com/forums and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.

Or you can consider using a matrix, but this may require a change in the form of the data.

 

Here are the steps you can follow:

1. In Power Query -- Add Column – Index Column – From 1.

vyangliumsft_1-1691030259682.png

2. Select [1 Year] … [C] – Transform – Unpivot column.

vyangliumsft_2-1691030296281.png

Result:

vyangliumsft_3-1691030296282.png

3. Create calculated table.

Flag =
var _table1=
FILTER(
    'Table','Table'[Attribute] IN {"1 Year","2 Year","3 Year","4 Year","5 Year"})
var _table2=
ADDCOLUMNS(
    _table1,"Group","Annulaized Years")
var _table3=
FILTER(
    'Table',NOT('Table'[Attribute]) IN {"1 Year","2 Year","3 Year","4 Year","5 Year"})
var _table4=
ADDCOLUMNS(
    _table3,"Group",BLANK())
return
UNION(
    _table2,_table4)

4. Result:

vyangliumsft_4-1691030315082.png

 

Best Regards,

Liu Yang

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

1 REPLY 1
Anonymous
Not applicable

Hi  @ak77 ,

I created some data:

vyangliumsft_0-1691030259679.png

Sorry, according to the research, it is not possible to add a column as a header above the table Visual, your data column exists at the top, this is due to the design of Power BI.

You can also submit an idea for it at https://ideas.powerbi.com/forums and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.

Or you can consider using a matrix, but this may require a change in the form of the data.

 

Here are the steps you can follow:

1. In Power Query -- Add Column – Index Column – From 1.

vyangliumsft_1-1691030259682.png

2. Select [1 Year] … [C] – Transform – Unpivot column.

vyangliumsft_2-1691030296281.png

Result:

vyangliumsft_3-1691030296282.png

3. Create calculated table.

Flag =
var _table1=
FILTER(
    'Table','Table'[Attribute] IN {"1 Year","2 Year","3 Year","4 Year","5 Year"})
var _table2=
ADDCOLUMNS(
    _table1,"Group","Annulaized Years")
var _table3=
FILTER(
    'Table',NOT('Table'[Attribute]) IN {"1 Year","2 Year","3 Year","4 Year","5 Year"})
var _table4=
ADDCOLUMNS(
    _table3,"Group",BLANK())
return
UNION(
    _table2,_table4)

4. Result:

vyangliumsft_4-1691030315082.png

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.