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
jerryr125
Helper IV
Helper IV

Tooltip Formatting

Hi - I have a two questions regarding formatting of tooltips:

A tooltip apprears for a bar chart visualization everytime the user hovers over a specific bar.  The tooltip displays field name and the value.

Questions:

1. How can you modify the tooltip to display another name instead of the actual field name (such as "Product Name" instead of "product_name") ?

2. The value being displayed in billions. How can display, for example, 1.23bn instead of 1230000000 ?

(example: "Sales: 1.23 bn" instead of "product_sales: 1230000000" ?

 

Note: I am using the verision of Power BI on the cloud (SAAS).

Any assistance would be appreciated. Jerry

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jerryr125 ,

 

Here I suggest you to create a measure as below and then add it into Tooltips.

Format =
VAR _Toolips =
    CALCULATE ( SUM ( 'Table'[Column1] ) )
RETURN
    SWITCH (
        TRUE (),
        _Toolips >= 100000000,
            _Toolips / 100000000 & " " & "bn",
        _Toolips >= 1000000,
            _Toolips / 1000000 & " " & "mn",
        _Toolips >= 1000,
            _Toolips / 1000 & " " & "th",
        _Toolips
    )

Result is as below.

RicoZhou_0-1677050640616.png

 

Best Regards,
Rico Zhou

 

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 @jerryr125 ,

 

Here I suggest you to create a measure as below and then add it into Tooltips.

Format =
VAR _Toolips =
    CALCULATE ( SUM ( 'Table'[Column1] ) )
RETURN
    SWITCH (
        TRUE (),
        _Toolips >= 100000000,
            _Toolips / 100000000 & " " & "bn",
        _Toolips >= 1000000,
            _Toolips / 1000000 & " " & "mn",
        _Toolips >= 1000,
            _Toolips / 1000 & " " & "th",
        _Toolips
    )

Result is as below.

RicoZhou_0-1677050640616.png

 

Best Regards,
Rico Zhou

 

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

 

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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