From eab95ba8a3f18253cde04e1898d63b0aed8001cb Mon Sep 17 00:00:00 2001 From: Dmitrij Vladimirov <47441164+Frisle@users.noreply.github.com> Date: Tue, 25 Apr 2023 15:59:12 +0600 Subject: [PATCH] Update Dashboard.cls Fix for the issue https://github.com/intersystems-community/DeepSeeWeb/issues/365 --- MDX2JSON/Dashboard.cls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MDX2JSON/Dashboard.cls b/MDX2JSON/Dashboard.cls index ba46f62..b79ff65 100644 --- a/MDX2JSON/Dashboard.cls +++ b/MDX2JSON/Dashboard.cls @@ -107,7 +107,7 @@ ClassMethod GetCubeMeasuresDataType(Widget, Number, CubeName, Output DataType As set dataSource = $piece(Widget.dataSource, ".", *) // get dataSource type if (dataSource '= "kpi"){ - if ($FIND(Widget.controls.GetAt(Number).targetProperty, "[")){ + if ($FIND(Widget.controls.GetAt(Number).targetProperty, "[") && $FIND(Widget.controls.GetAt(Number).targetProperty, ".")){ set tMeasure = $TRANSLATE(Widget.controls.GetAt(Number).targetProperty, "[]", "") set st = ##class(%DeepSee.Utils).%GetDimensionInfo(CubeName,tMeasure,.pDimNo,.pHierNo,.pLevelNo) // get positional info about dimension