Skip to content

Commit f33435b

Browse files
authored
Update Dashboard.cls
Small change to fix cube fast return
1 parent c8282a1 commit f33435b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

MDX2JSON/Dashboard.cls

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ ClassMethod GetCubeMeasuresDataType(Widget, Number, CubeName, Output DataType As
117117

118118
Set tMbrInfo = $G($$$DeepSeeMetaGLVN("cubes",$$$UPPER(CubeName),"mbr#",pDimNo,pHierNo,pLevelNo))
119119
set DataType = $LG(tMbrInfo,6) // get data type
120+
if '($FIND(DataType, "%")){ // if DataType return cube fact search for dataType in "star"
121+
Set tMbrInfo = $G($$$DeepSeeMetaGLVN("cubes", $$$UPPER(CubeName), "star", DataType, "prop", $LG(tMbrInfo,7), "type"))
122+
set DataType = tMbrInfo
123+
}
120124
}else{
121125

122126
set DataType = ""

0 commit comments

Comments
 (0)