Wednesday, March 21, 2012

I want to make formula in business Intelligence Project

Hi Friends,
I want to make formula in business Intelligence Project like as we make
formula in Crystal report.
Thanks,
AlexWell if I understand your question correctly you want to convert a Crystal
formula to RS. I had a lot of trouble with this as well and without doing
custom code that I'm not experienced with you are going to have to move to
single line vb .net functions in order to get your functionality.
The one that I have used the most is the =Iff statement as it lets you test
and chose 2 results and you can nest them inside each other. Here is a link
to the Microsoft MSDN Reference and some text from the link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vafctiif.asp
Visual Basic Language Reference IIf FunctionReturns one of two objects,
depending on the evaluation of an expression.Public Function IIf( _
ByVal Expression As Boolean, _
ByVal TruePart As Object, _
ByVal FalsePart As Object _
) As ObjectExampleThis example uses the IIf function to evaluate the TestMe
parameter of the CheckIt procedure and returns the word "Large" if the
amount is greater than 1000; otherwise, it returns the word "Small".Function
CheckIt (ByVal TestMe As Integer) As String
CheckIt = IIf(TestMe > 1000, "Large", "Small")
End FunctionGood luck,Dan"Alex Smith" <sam@.gmail.com> wrote in message
news:ODPzlaGfFHA.2372@.TK2MSFTNGP14.phx.gbl...
> Hi Friends,
> I want to make formula in business Intelligence Project like as we make
> formula in Crystal report.
> Thanks,
> Alex
>

No comments:

Post a Comment