Heyya got a question from one of my engineers - we...
# gooddata-ui
a
Heyya got a question from one of my engineers - we are building a custom plugin into the gooddata cloud.
How do you retrieve a calculated total (roll-up) based on the corresponding
DataViewFacade
data provided using the
useInsightWidgetDataView
hook to load a widget's data? There appear to exist
buckets
within the `dataView`'s
definition
, but those simply reference
ITotal
objects which include information about the total, but not the actual calculated value.
Alternatively, is there a different way of loading/processing this data when using a custom provider for an insight widget?
k
New message text here
m
Hello Ashley, Please, allow to do a small correction in the proposed solution by our assistant. In this line:
Copy code
const totals = facade.totals();
you should use
Copy code
const totals = facade.dataView.totals;
Please, give it a try and let us to known.
i
Hello Ashley, We’re just wondering if you've had a chance to review the latest update from us regarding your support request? We've provided an update some time ago but we haven't heard back from you. If you'd like to provide an update, or require more time to work through our latest comment, simply reply to this email and let us know. If we don't hear back from you we’ll solve this ticket within the next few days.