Forum Discussion
Setting default decimal places in matrix table using theme
In theory you should be using measures for value fields, and measures are formatted individually
Agreed but in this case I have a lot of measures and they are also used elsewhere in drill-through pages where the decimal places are required. So I want to set the display of the number of decimal places in the specific visuals. In this case the matrix table but potentially also in cards and other visuals.
- v-kkf-msft5 years agoCommunity Support
Hi vgeldbr ,
I don't find appropriate code to set default decimal places in matrix using theme. In my test, when you set decimal places in Field formatting for your measures, it doesn't affect decimal places these measures display in other visuals. This is a screenshot of my test.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- vgeldbr5 years agoHelper IV
Hello v-kkf-msft . There is no error, it just does not work. It looks to me as if it is not possible to set defaults under columnFormatting perhaps because the selections could be different for each field used?