Add an addition option to the right click popup menu to:
To 'Keep Only' the select measure as that is what I want to focus on!
see attachment
(version 2.9.87)
Hello, Brian!
Thank you for reaching out to us.
Flexmonster's context menu can be customized using the customizeContextMenu
API call. You can add a new handler for removing other measures, as is shown in this example: https://jsfiddle.net/flexmonster/50kosd98/
Within the customizeContextMenuFunction
, the measure cells are identified by checking if the measure
property is present in the CellDataObject. For measure cells, a new "Remove other measures" handler is added. This handler retrieves the current slice, removes other measures from it, and applies changes using the runQuery
API call.
Please let us know if this solution works for you.
Best Regards,
Maksym
Thanks, we will give it a try.
Hello, Brian!
Thank you for your reply.
Please let us know if more questions arise.
Best Regards,
Maksym