File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,6 +165,11 @@ Get information about pivot. <br>
165165 set dataSource = ##class(%DeepSee.Dashboard.Pivot).%OpenId(sourceId,,.st)
166166 return:($$$ISERR(st)) st
167167
168+ if (dataSource.mdx="") {
169+ set st = ##class(MDX2JSON.Dashboard).GetMdx(pDataSource, .mdx, .basemdx)
170+ return:($$$ISERR(st)) st
171+ set dataSource.mdx = mdx
172+ }
168173 set st = ##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON(dataSource, .out)
169174
170175 }
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ Request body:
107107
108108 {"MDX": "SELECT NON EMPTY [Product].[P1].[Product Category].Members ON 0,NON EMPTY [Outlet].[H1].[Region].Members ON 1 FROM [HoleFoods]"}
109109
110- [ Result] ( ../.. /wiki/MDX-output)
110+ [ Result] ( https://github.com/intersystems-ru/Cache-MDX2JSON /wiki/MDX-output)
111111
112112Please note that corresponding cube must be compiled and built beforehand.
113113
You can’t perform that action at this time.
0 commit comments