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

Comparison On GUID Field in Report Builder 3.0

$
0
0

In Report Builder 3.0 I have the following expression:

=IIf((Fields!my_guid_field.Value="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"), "SomeTrueText", "SomeFalseText")

When I view the Fields!my_guid_field.Value value on my report I can see that it outputs the string representation of the GUID.

But when the report runs the above expression fails with the error:

I have also tried converting the GUID using CStr() but that gives the same error above.

What is the solution?


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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