I have two Datasets. The first is used to populate a tablix. In that tablix, there is a calculated percentage field. I want to show a different background color based on whether the percentage is in a certain range, in other words, based on KPI thresholds. I have the thresholds coming in dynamically in a second dataset, that hold ColorName, LowerLimit, and UpperLimit fields. I know I need to use some sort of lookup function to get the row's color value where the percentage falls within the LowerLimit and UpperLimit for that row. I can assume that the Limits will not overlap. Any function/approach that will accomplish this? The reason I am pulling it dynamically is to give the customer a way to configure the thresholds, (using a maintenance screen that will manage that table). Thanks!
返回sql并在数据集中添加另一个字段,以便阈值位于tablix使用的数据集中
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.