Filter by IF and Like?


Author
Message
Jonathan Green
Jonathan Green
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 6, Visits: 12
If I use the following  =IF(LIKE(Fields!Symbol, "1tBRN"), Fields!closeval, 40 ) as a data value against the following data I get a nice chart:



date
Symbolcloseval
TypeTextTextDouble
04-12-20151tBRN 57.86
04-13-20151tBRN 57.93
04-14-20151tBRN 58.43



If I use the dame formula against mixed data
dateSymbolcloseval
TypeTextTextDouble
04-12-20151tBRN 57.86
04-12-20151tWBS 51.52
04-13-20151tBRN 57.93
04-13-20151tWBS 51.91
04-14-20151tBRN 58.43
04-14-20151tWBS 53.29
04-15-20151tBRN 60.32






I get :
An error occured during the web part rendering. The error was: Pivot processing failed during: Phase: Processing Pivot - Data Matrix - Properties, Action: Evaluating - =IF(LIKE(Fields!Symbol, "1tWBS"), Fields!closeval, 45 ). Error was: Unable to cast object of type 'Nevron.FormulaEngine.NVariant[]' to type 'System.IConvertible'.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search