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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Tiger_an
New Member

Is it possible to use Dynamic format string to change the font color in Calculation group?

Hi everyone,

I want to use Dynamic format string to change the font color in Calculation group, seached  a lot on the internet, but without good luck, anybody has suggestion for this?

Thanks in advance!

 

1 ACCEPTED SOLUTION
v-yilong-msft
Community Support
Community Support

Hi @Tiger_an ,

As I know, dynamic format strings primarily focus on formatting numerical data types and do not directly support changing font colors.  The functionality is designed to conditionally apply numeric and date formats based on the context of the data being displayed. This includes specifying different number formats, currency symbols, and date formats, but does not extend to visual styling attributes such as font color. This blog may let you know more about it: Creating Value Dynamic Formatting using Calculatio... - Microsoft Fabric Community

vyilongmsft_0-1711333252654.png

If you want to change the font color in the Calculation group, I think you can change the font color directly in Format visual in Visualizations.

vyilongmsft_1-1711333600759.png

vyilongmsft_2-1711333622086.png

 

 

 

Best Regards

Yilong 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

2 REPLIES 2
Tiger_an
New Member

Hi Yilong, 

Thanks for your reply, I also leared that this is not possible. While I learned a workaround, which is using conditional formating with a based measure, which can realize my requirment, thanks again for your response.

v-yilong-msft
Community Support
Community Support

Hi @Tiger_an ,

As I know, dynamic format strings primarily focus on formatting numerical data types and do not directly support changing font colors.  The functionality is designed to conditionally apply numeric and date formats based on the context of the data being displayed. This includes specifying different number formats, currency symbols, and date formats, but does not extend to visual styling attributes such as font color. This blog may let you know more about it: Creating Value Dynamic Formatting using Calculatio... - Microsoft Fabric Community

vyilongmsft_0-1711333252654.png

If you want to change the font color in the Calculation group, I think you can change the font color directly in Format visual in Visualizations.

vyilongmsft_1-1711333600759.png

vyilongmsft_2-1711333622086.png

 

 

 

Best Regards

Yilong 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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