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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ahinson
New Member

Remove value name in TOTAL line

I have a table similar to this:

 

Unit #Unit NameUnit Budget

456

First$100
123Second$200
789Third$300
TotalSecond$600

 

I don't want the Second unit name (red for emphasis) showing up in the total row. I just want this space to blank.

I've checked numerous formatting options but I still can't get the name to disappear. Any suggestions?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @ahinson ,

 

Whether [Unit Name] is a measure or not, if you just want the Total line of [Unit Name] to be blank and the rest of the Total lines to be unchanged, you can experiment with the IF()+HASONEVALUE () function.

Refer to:

IF function (DAX) - DAX | Microsoft Learn

HASONEVALUE function (DAX) - DAX | Microsoft Learn

Create measure.

Measure_Unit Name =
IF(
    HASONEVALUE('Table'[Unit #]),
    [Unit Name],BLANK())

vyangliumsft_2-1700186474498.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

3 REPLIES 3
Anonymous
Not applicable

Hi  @ahinson ,

 

Whether [Unit Name] is a measure or not, if you just want the Total line of [Unit Name] to be blank and the rest of the Total lines to be unchanged, you can experiment with the IF()+HASONEVALUE () function.

Refer to:

IF function (DAX) - DAX | Microsoft Learn

HASONEVALUE function (DAX) - DAX | Microsoft Learn

Create measure.

Measure_Unit Name =
IF(
    HASONEVALUE('Table'[Unit #]),
    [Unit Name],BLANK())

vyangliumsft_2-1700186474498.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

Anonymous
Not applicable

Power5_0-1700070474217.png

Under Totals in the format pane while clicking on your table. Make the font color and background color white.

 

Anonymous
Not applicable

Sure, you can use a measure like @Anonymous suggested but you can simply just format the total label like I did. Please accept this as a solution if it helped!

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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