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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jerryr125
Helper III
Helper III

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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