Remove Widget Title Box
Hello. Is there any way to remove the title portion of a widget? I often don't place a title on indicator widgets, but the title box still limits how small the widget can be and leads to some awkward white-space. Is there any way to get rid of the box and the white-space that comes with it?Solved7.1KViews2likes2CommentsNewer version of Highchart?
There are features in the more current versions of Highchart that I want to be able to use. It looks like our server is on Highcharts v6.0.4. Does Sisense intend to move to a more modern version? Or is this something that we can upgrade ourselves?Solved2.5KViews0likes4CommentsPivot 2.0 - Replace the "-" Sign of a Negative Value by Parentheses
In Accounting, it is common to represent negative numbers with leading and trailing parentheses. For example, negative two hundred is displayed as "(200)" To change a negative number formatting in a pivot 2.0 chart - Add the following script to the pivot widget: function getWidgetDocumentObject(widget) { if (prism.activeWidget == null) return document.querySelector('[widgetid="' + widget.oid + '"]').querySelector('pivot2'); else return document.querySelector('pivot2'); } widget.on('domready', function(widget) { try { console.log('DOM Ready script starting (wid=' + widget.oid + ')'); doc = getWidgetDocumentObject(widget); cells = doc.querySelectorAll('.table-grid__cell'); negative_cells = Array.from(cells).filter(cell => !isNaN(parseInt(cell.innerText.replaceAll(',',''))) && parseInt(cell.innerText.replaceAll(',',''))<0) negative_cells.forEach(function(element) { element.lastChild.innerText = element.lastChild.innerText.replace('-','(') + ')'; }); } catch (error) { debugger; console.error(error); } finally { console.log('DOM Ready script complete (wid=' + widget.oid + ')'); } }); Before After2KViews0likes1CommentFormula to Return SUM similar to a SQL IN Statement in a GRAND TOTAL
Scenario: My organization has ACCOUNT that have multiple balances associated with them, and each account has a TYPE These accounts tie into a PORTFOLIO We have a Pivot that is to return all PORTFOLIOS and the SUMs of these ACCOUNTS. But we would like to filter to return PORTFOLIOS that have ACCOUNTS that are a particular TYPE, however in the event there is one ACCOUNT of this TYPE, then all ACCOUNTS in this PORTFOLIO should be returned as well Currently the pivot is able to do this to calculate a RATIO using these SUMS, however the grand total row does not work, because the ALL function that we use to get ALL Types grabs all ACCOUNT amounts regardless of if they are in the right PORTFOLIO. Thus, the grand total is not correct of the ratio, even those the grand total for the amounts is correct that go into the ratio. How can we design a formula to accomplish this ask?2.5KViews0likes2CommentsStuck on trying to create a pivot table with more than one filter
Hello, I am trying to create a pivot table for all of the campaigns that my company is running. Most of these can have an open date range, but one of them needs a closed date range. so far, I have the pivot in the widget. I have Campaign in the rows of the pivot. I have Total Amount in the Values. I cannot seem to filter only one of the lines no matter what I try. Please assist. Example Table: Campaign desired date range $ Campaign A open date range $ Campaign B open date range $ Campaign C open date range $ Campaign D open date range $ Campaign E open date range $ Campaign F open date range $ Campaign G 7/1/2022 to 6/30/2023 $2KViews0likes2CommentsYear-To-Date for Only Completed Months
Hello, I have a pivot table where I am calculating YTD vs. LYTD metrics by month, like this: I want to exclude April from this table as it is not a completed month and thus doesn't provide useful information. I can't figure out how to do that from the filters pane and haven't had any luck with scripts either. Does anyone have any ideas?Solved3KViews0likes3CommentsCount days between Open Date and Closed Date, but use today's date if there is no Closed Date
Hello! I'm trying to create a formula that will calculate the number of days between two dates. The first date would always be an "Open Date", which all items should have. The second date would be conditional: I want it to use a "Closed Date", or if there isn't a Closed Date (i.e. it's null), then use today's date. I tried using this formula: IF(ISNULL([Days in Dispute Closed On]), DDiff(Now([Days in Dispute Opened On]),[Days in Dispute Opened On]), DDiff([Days in Dispute Closed On],[Days in Dispute Opened On])) Basically: if Closed On is null, calculate difference between Today and Opened On, otherwise calculate difference between Closed On and Opened On. Seems pretty straightforward, but Sisense won't accept this. It says "Error in function definition (IsNull): Expecting parameter of type 'Numeric Expression' but found 'Set'." I tried changing the ISNULL so it was looking at a count instead of an actual date: IF(ISNULL([# of unique Days in Dispute Closed On]), DDiff(Now([Days in Dispute Opened On]),[Days in Dispute Opened On]), DDiff([Days in Dispute Closed On],[Days in Dispute Opened On])) But that just changes it to a different error: "Error in function definition (IF) in 'numeric expression 1 (true)': Expecting parameter of type 'Member Expression' but found 'Dimension Expression'." This doesn't make any sense, because if I just do this by itself: DDiff(Now([Days in Dispute Opened On]),[Days in Dispute Opened On]) it works just fine?? So why wouldn't it work as part of the IF statement? What am I doing wrong? How can I accomplish the calculation that I want?Solved3KViews0likes1CommentDefault Condition on BloX?
I am using the conditions feature on BloX cards. Here is an example: "conditions": [ { "minRange": "-Infinity", "maxRange": -0.01, "color": "#FA5656", "image": "/plugins/BloX/blox-images/StockMarket/arrow-down.png" }, { "minRange": 0, "maxRange": "Infinity", "color": "#54a254", "image": "/plugins/BloX/blox-images/StockMarket/arrow-up.png" } ] This works well, but if the value is null, it renders unpredictably. What I'm looking for is a conditional for when the value is null. Does anyone know how to go about this?1KViews1like0CommentsFilter by two values on same widget
Anyone know how I can filter two values independently? In the chart below the first 4 bars are from my "days in R/I stage formula. The next 4 are related to the Insulation-Prime formula. Each formula has a filter built in to only look at jobs from the stage they are in. But I also want to be able to filter these by different numbers. "Current days in R/I" should only show jobs over 15 days. Where "Current days in insulation/prime" I want to see anything over 10 days.1.8KViews0likes1Comment