Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: Adding columns with different data type

$
0
0

You can create 3 report variable for the formula of  column A,B and C and then you can apply above formula given by me.

 

Create variable-

A=

If (condition) then "X"

elseif (condition) then "Y"

else Measure object

 

B=Similar to A

C=Similar to A

 

Then use this formula to calculate sum-

 

=If IsError(ToNumber([Column A]))=0 And IsError(ToNumber([Column B]))=0 And IsError(ToNumber([Column C]))=0Then ToNumber([Column A])+ToNumber([Column B])+ToNumber([Column C])


~Anuj


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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