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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Ariful
Frequent Visitor

How I can display text value in Display Measure section in Mekko Chart ( Custom Visual)

I have desing a simple Mekko Chart using custom visual (Marimekko Chart - xViz)

, just I want to add the text "hrs" after my hours value , I am trying several time but not getting success , please help me, someone already done it( I am attaching a picture FYI), I have used  the following 

ff = FORMAT(AVERAGE('DataTable'[Time_Spent]), "0.0")&"hrs"  FORMAT function, 
N.B: Display Measure section in Mekko Chart not accept  text value.Mekko Chart.png
1 ACCEPTED SOLUTION
Ariful
Frequent Visitor

There is a option in Marimekko Chart name as Suffix, I have just put "hrs" and it is showing on measure sections withour writing any measures.

View solution in original post

3 REPLIES 3
Ariful
Frequent Visitor

There is a option in Marimekko Chart name as Suffix, I have just put "hrs" and it is showing on measure sections withour writing any measures.

bhanu_gautam
Super User
Super User

@Ariful If the chart does not accept text values directly, you can use a tooltip to display the formatted text. Create a measure for the tooltip:

AverageTimeSpentWithText = FORMAT(AVERAGE('DataTable'[Time_Spent]), "0.0") & " hrs"

 

Add the AverageTimeSpentWithText measure to the tooltip section of the Mekko Chart. This way, when you hover over the data points, it will display the formatted text with "hrs".




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Thank you for your kind reply, but the requirements is instead of tooltip need to directly show on chart like my attached picture,  how they ( others person) have done it?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 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.