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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Freeze row headers in tabel visuals

Hi guys,

 

This question is been asked several times but is mostly about freezing the colomn headers. I would like to know if there is a way how to freeze the row headers in either 2 as 3 dimentional visual tabels in Powerbi.

 

I have a date slicer and when selecting a year that does not contain any data in the relationship tabel SALES, i see an empty visual tabel, but what I would like, is to see the row headers titles even with no data.

 

Thanks in advance

5 REPLIES 5
Anonymous
Not applicable

Hi  @Anonymous ,

You may also consider using a literal "Blank()" instead

Here are the steps you can follow:

1. Create measure.

Hrs_measure =
var _select=SELECTEDVALUE('Table'[Year])
var_sum1=CALCULATE(SUM('Table'[HRS]),FILTER(ALL('Table'),'Table'[Year]=_select&&'Table'[Task]=MAX('Table'[Task])))
return
IF(
    _sum1=BLANK(), "Blank()",_sum1)

2. Result:

vyangliumsft_0-1643346515685.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

Thejeswar
Super User
Super User

Hi @Anonymous ,

You can enable the "Show Items with no data" property for the Year Column

An Example screenshot below

Source:

Thejeswar_0-1643107382723.png

For this example, I have enabled "Show items with no data" property for the Task column. In your case it will be the column that you are using

Thejeswar_1-1643107412875.png

Empty row displayed:

Thejeswar_2-1643107435376.png

Regards,

 

Anonymous
Not applicable

In this case i dont have a Task slicer but a year slicer containing 2019, 2020 en 2021. 

 

The source tabel is something like this:

Task  HRS  Year

A        14   2019

B        11    2020

C                2021

D        13    2021

 

Year slicer selected value:

2021

 

Visual shows:

Task HRS

D   13

 

Visual should show:

TASK   HRS

C

D     13

I tried with the data that you shared, it is working as expected

Thejeswar_1-1643108967167.png

Although you are slicing on Year, since your Table is not having year, you should set the "Show items with no data" property to enabled for Task

amitchandak
Super User
Super User

@Anonymous , I doubt there is much you can do on that, other than default functionality.

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors