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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Notbad
Regular Visitor

Custom formatting for table fields added by dynamic measure

Hi! 

I have a matrix which could display different number of fields depending on checkbox filter (I made it via dynamic measure using SWITCH() function). Is it possible to add a custom formatting to every measure separately? For examlpe I want to add a pink background to «clicks» field.

Moreover (and it is even worse), all measures in table aslo have the same format (measure «Costs» on screenshot has decimal format in table, but it suppose to have a currency format in data model). Does anyone know how to fix it? Didn`t find any solution yet, probably, anyone in community knows the answer. 

Thanks for help! 2022-10-25_15-56-53.png

1 ACCEPTED SOLUTION
JorgePinho
Solution Sage
Solution Sage

Regarding the background color I don't think it is possible.

 

In terms of keeping the format of data from the model I would recomend you to do this solution using the new feature Fields Parameter instead of a dynamic measure.

 

Find more regarding this feature here: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

View solution in original post

1 REPLY 1
JorgePinho
Solution Sage
Solution Sage

Regarding the background color I don't think it is possible.

 

In terms of keeping the format of data from the model I would recomend you to do this solution using the new feature Fields Parameter instead of a dynamic measure.

 

Find more regarding this feature here: https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.