Quantcast
Channel: SCN : Unanswered Discussions - Semantic Layer
Viewing all articles
Browse latest Browse all 1291

Expression in Where Condition

$
0
0

Hi,

 

Could you please help with the issue while iam trying to validate the expression in the where condition, iam getting below two errors:

 

1) length @Select(Dim\Fiscal Period\Fiscal Month)=1


Capture.JPG



2) Case

when

length @Select(Dim\Fiscal Period\Fiscal Month)=1

then

'00'||(@Select(Dim\Fiscal Period\Fiscal Month))||'.'||@Select(Dim\Fiscal Period\Fiscal Year)

else

'0'||(@Select(Dim\Fiscal Period\Fiscal Month))||'.'||@Select(Dim\Fiscal Period\Fiscal Year)

End

 

Capture.JPG

 

Thanks,

Dinya.


Viewing all articles
Browse latest Browse all 1291

Trending Articles



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