{"id":3650,"date":"2015-10-12T13:26:12","date_gmt":"2015-10-12T05:26:12","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=3650"},"modified":"2024-07-04T15:41:41","modified_gmt":"2024-07-04T07:41:41","slug":"calculations","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/","title":{"rendered":"Calculations"},"content":{"rendered":"<div class=\"cards\">\n<div id=\"explorer\" class=\"card\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/calculation-syntax\/\"><span class=\"card-title2\">Syntax<\/span><br \/>\n<span class=\"card-desc2\">General syntax\u00a0rules for calculations, and how the functions work.<\/span><\/a><\/div>\n<div id=\"explorer\" class=\"card\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/keywords\/\"><span class=\"card-title2\">Keywords<\/span><\/a><\/p>\n<div id=\"col2\" class=\"card-desc2\">E<br \/>\nEntity<br \/>\nLog10E<br \/>\nLog2E<br \/>\nNull<br \/>\nPi<br \/>\nSystemTime<br \/>\nTrue<br \/>\nFalse<\/div>\n<\/div>\n<div id=\"explorer\" class=\"card\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/operators\/\"><span class=\"card-title2\">Operators<\/span><br \/>\n<span class=\"card-desc2\">Operators available for use in calculations, and how they are used.<\/span><\/a><\/div>\n<\/div>\n<h2>Functions List<\/h2>\n<div class=\"cards\">\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Cast<\/span><\/p>\n<div id=\"col2\" class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/boolean\/\">Boolean<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/datetime\/\">DateTime<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/decimal\/\">Decimal<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/duration\/\">Duration<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/format\/\">Format<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/integer\/\">Integer<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/makedatetime\/\">MakeDateTime<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/numbertostring\/\">NumberToString<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/parsedate\/\">ParseDate<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/string\/\">String<\/a><\/div>\n<\/div>\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Conditional Logic<\/span><br \/>\n<span class=\"card-desc2\"> <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/if\/\">If<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/singlevalueif\/\">SingleValueIf<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/select\/\">Select<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/switch\/\">Switch<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/singlevalueswitch\/\">SingleValueSwitch<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/tablelookup\/\">TableLookup<\/a><\/span><\/div>\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Confidence Functions<\/span><br \/>\n<span class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/confidence\/\">Confidence<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/confidencecutoff\/\">ConfidenceCutoff<\/a><\/span><\/div>\n<\/div>\n<div class=\"cards\">\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Data Dictionary<\/span><\/p>\n<div id=\"col2\" class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddaverage\/\">DDAverage<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddcount\/\">DDCount<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddget\/\">DDGet<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddgetattributes\/\">DDGetAttributes<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddgetentities\/\">DDGetEntities<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddgetparent\/\">DDGetParent<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddhastemplate\/\">DDHasTemplate<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddmax\/\">DDMax<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddmin\/\">DDMin<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddstddev\/\">DDStdDev<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/ddsum\/\">DDSum<\/a><\/div>\n<\/div>\n<div id=\"explorer\" class=\"card\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/time-periods\/\"><span class=\"card-title2\">Date-Based Functions<\/span><br \/>\n<span class=\"card-desc2\">Calendar Periods<br \/>\nMonths<br \/>\nProduction Periods<\/span><\/a><\/div>\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Digital State<\/span><br \/>\n<span class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/numbertostate\/\">NumberToState<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/statetonumber\/\">StateToNumber<\/a><\/span><\/div>\n<\/div>\n<div class=\"cards\">\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Error Handling<\/span><\/p>\n<div id=\"col2\" class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/catcherror\/\">CatchError<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/catchnull\/\">CatchNull<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/removenull\/\">RemoveNull<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/replacenull\/\">ReplaceNull<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/removeerror\/\">RemoveError<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/replaceerror\/\">ReplaceError<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/replacevalues\/\">ReplaceValues<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/catchlowconfidence\/\">CatchLowConfidence<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/catcherrorornosamples\/\">CatchErrorOrNoSamples<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/catchnosamples\/\">CatchNoSamples<\/a><\/div>\n<\/div>\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Mathematics<\/span><br \/>\n<span class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/mathematics\/\">Simple Math Expressions<br \/>\nAverages<br \/>\nMinimums &amp; Maximums<br \/>\nSmall &amp; Large<br \/>\nCount<br \/>\nOther Math<br \/>\n<\/a><\/span><\/div>\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">R<\/span><br \/>\n<span class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/rtimeseries\/\">RTimeSeries<\/a> <\/span><\/div>\n<\/div>\n<div class=\"cards\">\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Shift<\/span><br \/>\n<span class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/shiftend\/\">ShiftEnd<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/shiftnumber\/\">ShiftNumber<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/shiftstart\/\">ShiftStart<\/a><\/span><\/div>\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Time<\/span><\/p>\n<div id=\"col2\" class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/time-periods\/durations\/\">Second<br \/>\nMinute<br \/>\nHour<br \/>\nDay<br \/>\nWeekday<br \/>\nMonth<br \/>\nYear<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/altertimestamp\/\">AlterTimestamp<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/time\/\">Time<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timeof\/\">TimeOf<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/rawtimeof\/\">RawTimeOf<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timeofday\/\">TimeOfDay<\/a><\/div>\n<\/div>\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Time Interval<\/span><br \/>\n<span class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timeeq\/\">TimeEq<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timege\/\">TimeGe<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timegt\/\">TimeGt<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timele\/\">TimeLe<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timelt\/\">TimeLt<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timene\/\">TimeNe<\/a> <\/span><\/div>\n<\/div>\n<div class=\"cards\">\n<div id=\"explorer\" class=\"card\"><span class=\"card-title2\">Ungrouped<\/span><\/p>\n<div id=\"col2\" class=\"card-desc2\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/caller\/\">Caller<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/concat\/\">Concat<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/current\/\">Current<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/eval\/\">Eval<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/evalexp\/\">EvalExp<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/initial\/\">Initial<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/samplefilter\/\">SampleFilter<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/sampling\/\">Sampling<\/a><br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/valueat_sampled\/\">ValueAt_Sampled<\/a><\/div>\n<\/div>\n<div id=\"white\" class=\"card\">\u00a0<\/div>\n<div id=\"white\" class=\"card\">\u00a0<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This page shows all the keywords, operators, and functions available to perform calculations in IFS OI Server.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":9492,"parent":27,"menu_order":79,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[6],"tags":[100],"class_list":["post-3650","page","type-page","status-publish","has-post-thumbnail","hentry","category-landing-page","tag-calculations","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=3650"}],"version-history":[{"count":10,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3650\/revisions"}],"predecessor-version":[{"id":67785,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3650\/revisions\/67785"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/27"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/9492"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=3650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=3650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=3650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}