简体   繁体   English

SSRS 2008 R2-LookupSet表达式上的条件格式

[英]SSRS 2008 R2 - Conditional Formatting on a LookupSet Expression

I have a field that is generated by using the LookupSet expression, which returns an array to accommodate the potential of more than one value being returned. 我有一个使用LookupSet表达式生成的字段,该表达式返回一个数组,以容纳返回多个值的可能性。 Looks like this: =Join(LookupSet(Fields!ENTITYUID.Value,Fields!FACILITYID.Value,Fields!TLID.Value, "TielineView"), VBCRLF + "") 看起来像这样:= Join(LookupSet(Fields!ENTITYUID.Value,Fields!FACILITYID.Value,Fields!TLID.Value,“ TielineView”),VBCRLF +“”)

Conditional formatting is needed on some of the values returned if they match a designated list. 如果返回的某些值与指定列表匹配,则需要条件格式。 Is it possible to crack into this array and perform the conditional formatting expression on each value? 是否可以破解此数组并对每个值执行条件格式表达式?

Thanks in advance, DP 预先感谢,DP

Could you use conditional formatting on the value returned by the lookup as Reportitems!whatever.value? 您能否对查询返回的值使用条件格式,如Reportitems!whatever.value?

for example =iif(reportitems!whatever.value = 0,"Red","Black") 例如= iif(reportitems!whatever.value = 0,“ Red”,“ Black”)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM