Closed jspeis closed 7 years ago
I got you, brother. It's been there since the beggining: https://github.com/jazzido/mondrian-rest/blob/d58d8db562480054ae8aac834797388615a873ae/spec/api_spec.rb#L174-L183
Just add parents=true
to your query string. This is also exposed in mondrian-rest-client
: .option('parents', true)
.
(…yeah, we need better documentation).
woot! thanks
On Thu, Aug 24, 2017 at 4:37 PM, Manuel Aristarán notifications@github.com wrote:
(…yeah, we need better documentation).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jazzido/mondrian-rest/issues/23#issuecomment-324750395, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFWHagYgGRa4d2vdyuPUyBDJFw2jN8hks5sbd8PgaJpZM4PBrry .
If I have a dimension
Foo
with a hierarchy likeParent Group
>Child Group
and I do a drilldown onFoo
byChild Group
injsonrecords
style, would be great if I could add a flag to tell mondrian-rest that I would like to also retrieve available metadata (e.g. name of theParent Group
).This would be useful for example in the context of data visualizations where I want to drilldown to the deepest child level but group by the parent.