Hello-
I am currently creating a project management tool using dashboards. The goal is to highlight cells that have no data (null) so we can see who is not entering information in the fields.
It seems somewhat simple but I am pretty new to arcade. I was thinking that I could go into the text and background formatting for the field and use the IIF function to format this. I do want to apply this for ALL fields so I am guessing there is an easier way to do this.
Thanks in advance.
Solved! Go to Solution.
The expression you're looking for is
When(IsEmpty($datapoint.Company), '#F5DDD4', '')
But you would need do this for every cell/field. To simplify this you can instead create a function:
function colorGrade(nulls){
return (
When(IsEmpty(nulls), '#DB9497', '')
)
}
And then plug in the function in every cell return statement with that specific field in the function.
You might look into use the Advanced Formatting available - this article has a section specifically about formatting tables:
Thank you for your reply. I am only seeing Advanced Formatting for lists in this article. I am wondering if there is a function that will search for null values in the table and highlight them no matter what data point I define in the expression.
Update: I have used
The expression you're looking for is
When(IsEmpty($datapoint.Company), '#F5DDD4', '')
But you would need do this for every cell/field. To simplify this you can instead create a function:
function colorGrade(nulls){
return (
When(IsEmpty(nulls), '#DB9497', '')
)
}
And then plug in the function in every cell return statement with that specific field in the function.
Wow, thank you so much! This is so helpful.