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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors