Skip to content

Commit eab95ba

Browse files
authored
Update Dashboard.cls
Fix for the issue intersystems-community/DeepSeeWeb#365
1 parent 4616b03 commit eab95ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MDX2JSON/Dashboard.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ ClassMethod GetCubeMeasuresDataType(Widget, Number, CubeName, Output DataType As
107107
set dataSource = $piece(Widget.dataSource, ".", *) // get dataSource type
108108

109109
if (dataSource '= "kpi"){
110-
if ($FIND(Widget.controls.GetAt(Number).targetProperty, "[")){
110+
if ($FIND(Widget.controls.GetAt(Number).targetProperty, "[") && $FIND(Widget.controls.GetAt(Number).targetProperty, ".")){
111111
set tMeasure = $TRANSLATE(Widget.controls.GetAt(Number).targetProperty, "[]", "")
112112

113113
set st = ##class(%DeepSee.Utils).%GetDimensionInfo(CubeName,tMeasure,.pDimNo,.pHierNo,.pLevelNo) // get positional info about dimension

0 commit comments

Comments
 (0)