How can I apply conditional formatting for any dimension?
I have seen that I can apply condition formatting only for number values (measures). Is there any way to apply conditional formatting on dimensions.
I have below json:
"name": "MR. X",
"name": "MR. Y",
From the above datasets I can apply conditional formatting on “age” and “salary” (i.e: already has been defined in webdatarocks).
Now my requirements is that , how can I apply same conditional formatting on “name” or “employeeID” values.
Thank you for posting your question.
There is a way to format the dimensions. This can be achieved by redefining CSS styles of specific cells with the
customizeCell function. Please refer to the article in our documentation to find out more details about its purpose and the input parameters.
We’ve prepared a demo for you that shows how to format the cells based on their contents.
Hope it will be helpful for you.