reporting services - Group with different background colors in SSRS -
i have report uses grouping in ssrs. group collapsed on load , when expand each group, can see individual records. have field each row shows if "error" , "info". did give different background color row this
= iif(fields!loglevel.value = "error", "maroon", "nocolor")
and shows me erros different background color.
but trying give whole group background color if there @ least 1 error inside it. can suggest me way this? tried backgroup color group , don't see it. please suggest way!
thanks
you need sum when loglevel.value = "error" using iif statement, need scope of group.
the scope name of group, eg tblmain_group1, or whatever entered when created group
then use criteria background colour data row
=iif(sum(iif(fields!loglevel.value="error",1,0),"tblmain_group1")>0,"maroon","transparent")
Comments
Post a Comment