Reply
Sonu88
Frequent Visitor

Displaying Formatted Text in Matrix/Table

Hello,

 

I would like to display formatted text inside a table. How can I achieve this in a matrix or table?

The City column contains some information in italics, and the request is to display this information as it is.

I've tried multiple workarounds, but I still can't display the information as intended, can someone help me how to achieve this without any custom visual?

The input data file is below.

Country Name

State

City

India

MS

Mumbai

Financial Capital

India

Delhi

Delhi

Country Capital

1 ACCEPTED SOLUTION
pbiuseruk
Resolver II
Resolver II

Hello,

 

There's not an inbuilt way to do this from what I've seen and you have to use workarounds. Power BI does allow you to do conditional formatting for background colours, icons, etc.. but not font styles.

You can try to make a calculated column or measure based on the fields of your dataset and then copy and paste text generated from one of these sites: https://lingojam.com/BoldTextGenerator or https://inputoutput.dev/unicode-italic-text-generator/.

 

These are Unicode Text Generator websites and they should display correctly in your matrix (example below):

pbiuseruk_0-1728926003832.png

 

The alternative would be to make your own converter dictionary and then substitute characters in a measure or column but I can't find a list of unicode characters for italicised characters. This would be the better option though.

 

Please let me know if that helps.


 

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

Use SVG

pbiuseruk
Resolver II
Resolver II

Hello,

 

There's not an inbuilt way to do this from what I've seen and you have to use workarounds. Power BI does allow you to do conditional formatting for background colours, icons, etc.. but not font styles.

You can try to make a calculated column or measure based on the fields of your dataset and then copy and paste text generated from one of these sites: https://lingojam.com/BoldTextGenerator or https://inputoutput.dev/unicode-italic-text-generator/.

 

These are Unicode Text Generator websites and they should display correctly in your matrix (example below):

pbiuseruk_0-1728926003832.png

 

The alternative would be to make your own converter dictionary and then substitute characters in a measure or column but I can't find a list of unicode characters for italicised characters. This would be the better option though.

 

Please let me know if that helps.


 

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)