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

SSRS Expression help

$
0
0
Hello Team Members,

I have a location address field in my tables.the values are like this

1234 US 285 N, TX, TX 73450
24 CR 452 Orla, TX 79770
4536 U S 285 N
4536 U S 285 N TEXAS
-
-
-
I Want to split these fields using , operator

1234 US 285 N = location
TX            = State
TX 73450      = Pincode

=Split(Fields!Location_address.Value,",").GetValue(0)
=Split(Fields!Location_address.Value,",").GetValue(1)
=Split(Fields!Location_address.Value,",").GetValue(2)

I am using above expression for these fields but am getting =Error value if the location or state or pincode fileds are not available.

Please help us anyone give me the correct expression for this 

Thanks!

Viewing all articles
Browse latest Browse all 10045

Trending Articles



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