Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

Format expression not working

$
0
0

When I try to format a table by content using the following expression it does not work.

=IIF(Fields!Respond_By_Time_Left.Value="00h 15m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 14m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 13m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 12m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 11m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 10m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 09m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 08m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 07m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 06m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 05m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 04m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 03m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 02m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 01m","LightCoral", IIF(Fields!Respond_By_Time_Left.Value="00h 00m","LightCoral", IIF(Fields!TinyTime.Value="-", "Gold", IIF(ROWNUMBER(NOTHING) MOD 2, "LightGrey","WhiteSmoke"))))))))))))))))))


Viewing all articles
Browse latest Browse all 20764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>