Help with CI/CD Workflow for Sisense + GitHub Integration
Hi everyone, We're currently using two environments—test and prod—and recently began using Sisense's Git integration with GitHub. We're now looking to improve our CI/CD process and wondering if anyone has come across solid documentation or examples. Specifically, we're hoping to: Automatically deploy changes from a feature branch in test to main in test after a pull request is merged Then automatically deploy the same changes to prod Has anyone implemented a workflow like this or found official guidance on automating these deployment steps? We'd love to avoid manually pulling these changes into each environment. Appreciate any advice, links, or lessons learned!12Views0likes1CommentHow to Dynamically Switch Between Multiple Data Models in a Single Dashboard?
Hello I am building a dashboard where different user groups need to view similar KPIs sourced from different ElastiCubes. For example; one group uses the Sales_US model & another uses Sales_EU. Rather than duplicating dashboards for each data model, I am exploring ways to dynamically switch between data sources within a single dashboard using a parameter or user/group attribute.🙂 Has anyone implemented a solution where the dashboard automatically pulls from the relevant data model based on user login, group / a dropdown selector? 😇 Ideally; I would like to avoid duplicating widgets and dashboards, and instead create a flexible design that changes context based on the selected (or detected) model.🤔Checked https://docs.sisense.com/main/SisenseLinux/embedding-dashboards-and-widgets.htm related to this and found it quite informative. If this isn’t natively supported, are there any creative workarounds using Sisense Blox, embedding API / script-based redirection/Generative AI Course ? 😇 I’m open to hybrid approaches as long as they maintain a good user experience. Thanks in advance!🙂24Views0likes2CommentsBuild To Destination Failure
While Trying build to Destination in an elasticube model, I am getting destination viewer error. Is it related to any configuration issues and is it necessary to provide the database and schema parameter while doing Build to destination? Attaching the screenshot of the generated error293Views0likes2CommentsGeneric JDBC ClickHouse live model with custom dialect
Hello, I am using a Generic JDBC driver to query our ClickHouse cluster. It works quite well on ElasticCube, except for handling date types and date functions. Therefore, I would like to use a live model with a custom dialect. However, I haven't found any documentation about that. I noticed that the analytical engine is enabled for my connector and that it's based on Apache Calcite. Additionally, I saw that there is a custom dialect for ClickHouse in the Apache Calcite project. https://github.com/apache/calcite/blob/main/core/src/main/java/org/apache/calcite/sql/dialect/ClickHouseSqlDialect.java I tried to download the Java file for ClickHouse dialect and upload it, but it doesn't seem to work as expected. Although no errors appeared in the UI, I noticed a 400 error in the network with the following message: "Failed to update dialect with response = ServiceResponse(status=INSTALL_DIALECT_FAILED, value=null, error=Failed to validate Dialect for connector GenericJDBC_clickhouse, statusCode=0), for connector GenericJDBC_clickhouse." Could you help me figure it out? ThanksSolved2.2KViews0likes9CommentsDate range comparative analysis
I'm trying to compare the price between two dates within a date range. Here is an example of what I am attempting: My date range is Jan 2024 to June 2024 Field 1: KPI, Table Column, Field shows the average price in Jan 2024 Field 2: KPI, Table Column, Field shows the average price in June 2024 I change the date range to March 2024 to May 2024 Field 1: KPI, Table Column, Field shows the average price in March 2024 Field 2: KPI, Table Column, Field shows the average price in May 2024 Is there a way I can show this? I've tried a few different data functions within the widget function as well as filtered measure plugin. One thing I was thinking, is it possible for the date range to auto-populate the filtered measures? Such as: I duplicate the date field in the Elasticube twice. Once is for Period1Date and the other Period2Date. Period1Date would auto populate to be Jan 2024 and Period2Date would autopopulate to June 2024 Then I would use these two date fields in the widget expressionSolved340Views0likes7CommentsHandling Latest Records in widget (pivot/charts) in context of filters selected
Hi, I have a table with test cases (testcase_key, Type), cycles (cycle1, cycle2, ...), and executions (test_result, execution_timestamp). Scenario: A test can be executed multiple times within one cycle, and the same test case can also be executed in subsequent cycles. I want to keep only the latest execution of each test case in a pivot table. The dashboard has a filter for cycles. I can write custom SQL like this: SELECT * FROM ( SELECT *, ROW_NUMBER() OVER (PARTITION BY testcase_key ORDER BY execution_timestamp DESC) as rn FROM executions ) sub WHERE rn = 1; The challenge with this approach is that it only shows the test case of the latest cycle. If a user selects any past cycle, I am not able to see the latest test case status and type for that cycle. I have also tried using JAQL, but it doesn't work as expected. Here is the JAQL query I used: { "top": 1, "by": { "table": "executions", "column": "actualenddate_ts", "dim": "[executions.actualenddate_ts]", "datatype": "numeric", "agg": "max" }, "context": { "partition": [ { "table": "executions", "column": "testcase_key", "dim": "[executions.testcase_key]", "datatype": "text" }, { "table": "executions", "column": "issue_key", "dim": "[executions.issue_key]", "datatype": "text" } ], "sort": { "table": "executions", "column": "actualenddate_ts", "dim": "[executions.actualenddate_ts]", "datatype": "numeric", "order": "desc" } } }224Views0likes1CommentFiltering Inventory Dashboard to a Specific Date Using dbt Snapshot (valid_from/valid_to)
Hi Sisense Community, I'm working on an inventory dashboard in Sisense and I'm using dbt Snapshots to maintain historical inventory data. My snapshot table includes dbt_valid_from and dbt_valid_to columns to track the period for which each inventory record was valid. I want to enable users to filter the dashboard to a specific date and see the inventory position on that exact day. For example, if a user selects "12/04/2025" (April 12, 2025), the dashboard should display the inventory levels as they were on that date, based on the dbt_valid_from and dbt_valid_to ranges. My inventory_history table in the ElastiCube has the following relevant columns: product_id location_id quantity_on_hand dbt_valid_from (Date/Timestamp) dbt_valid_to (Date/Timestamp, can be NULL for current records) I'm looking for the best way to implement a filter that allows users to select a single "Inventory Position Date" and then filter my inventory widgets to show only the records where the selected date falls within the dbt_valid_from and dbt_valid_to range (or dbt_valid_from is before the selected date and dbt_valid_to is NULL). Specifically, I'm wondering: What is the best approach to allow users to select a single date for this filtering? How would I create the necessary logic (likely a Calculated Field) in the ElastiCube to determine if an inventory record was valid on the selected date? I need to compare the selected date with the dbt_valid_from and dbt_valid_to columns, handling the NULL value in dbt_valid_to for current records. How would I then use this calculated field (or another method) to filter my inventory widgets to show the correct data for the selected date? Any guidance, examples of calculated field formulas, or best practices for implementing this type of point-in-time filtering in Sisense would be greatly appreciated! Thanks in advance for your help.Solved608Views0likes4CommentsFiltered measures across date ranges using a many-to-many relationship with dates
Hi there, Following on from the post regarding filtering inventory on a dashboard, I was able to create a pre-calculated date value for each row in the main inventory model, allowing for single-select filtering. Using the same date dimension and inventory model, I was hoping to employ filtered measures to create two columns each comparing the summation of values across two specific dates (like an opening and closing count of units). This is my current work around for getting the calculations across a date range, however I know that akaplan already considered that this would be difficult given the many-to-many relationship that exists between the models. Is this what is causing my issue here? As shared in the attached, it does not seem to apply measured filters at all now. Appreciate any advice/considerations on these filtered measures, Thanks in advanceSolved293Views0likes5CommentsAppend Data for Dim Table
Hi Everyone, I have a few fact tables that all share the column "registration". In my original build, I created a dim table by just saying: Select Distinct [registration ]from Table1 etc Now that I have other fact tables, is it possible to append all of those registration columns and then select distinct from the full list? ThanksSolved262Views0likes1Comment