top of page

Enable shared tooltip in Sisense (display all 'breakby' items in tooltip)

If a 'breakby' column is added in Sisense widget, currently it shows value of one item at a time in tooltip. Here is a solution to display values of all 'breakby' items in tooltip




widget.on('processresult', function(se, ev){
	ev.result.tooltip.shared = true
	ev.result.tooltip.enabled = true
})

widget.on("beforedatapointtooltip", function (se, args){
	args.cancel=true;
});

136 views1 comment

1 Comment

Rated 0 out of 5 stars.
No ratings yet

Add a rating
hautobahn
Nov 16, 2023

Is there a way to maintain the formatting of the tool tip text when using this script? When I use this script, it strips all formatting that has been set in sisense. For example, if I have dollars & rounding set, it ignores that and just displays the raw number

Like
bottom of page