Skip to content

Commit afe619e

Browse files
committed
FIX: add missing property for text meter
The hack simply takes the measure name and assigns it to the dimension property. Unique Doctor Count is calcMember and any other measure is mbr#. The method in ResultSet looked for mbr# and therefore did not find it
1 parent fa87d7b commit afe619e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

MDX2JSON/ResultSet.cls

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,12 @@ Method ProcessOneAxisCell(CubeIndex, AxisKey, CubeName, QueryKey, AxisNumber, No
185185
set tDimNo = $LG(tNode,9)
186186
set tHierNo = $LG(tNode,10)
187187
set tLevelNo = $LG(tNode,11)
188+
set tCaption = $LG(tNode, 5)
188189

189190
do ##class(%DeepSee.Utils).%GetDimensionCaption(CubeName,tDimNo, tHierNo,tLevelNo, .tAxisCaption)
190191
set cell.dimension = tAxisCaption // cube dimension
191-
192+
if (cell.dimension) = "" set cell.dimension = tCaption // hack for assigne dimension property for calcMembers specifically
193+
192194

193195
set:$$$Debug cell.visible = '..IsCellNull(cell,AxisNumber,Node)
194196
set:$$$Debug cell.node = Node

0 commit comments

Comments
 (0)