Get a list of Datasets in an elasticube with ComposeSDK
I want to create a dropdown containing all the tables/datasets within a specific elasticube with React. I created a dropwdown that I can populate all the elasticubes in my instance with, but I want to be able to see the list of datasets from that elasticubes but I am struggling to find the api end-point or if there is another way. Ideally would then also like to be able to build a table, containing all the data from that table, once selected, but trying to take it one step at a time 🙂 Any advise would be greatly appreciated.878Views0likes7CommentsCustom Widget Script Styling Not Coming Through on sdk-ui Chart Component
I have a widget where I have edited the script to apply custom formatting (changing the “time” from being displayed in seconds => to minutes & seconds). However, when I display this widget in my React project with the <LineChart {...widget.getChartProps()}/> component from sdk-ui, the custom formatting is not showing up. Is there something special I need to do here to be able to see this custom script styling in the sdk-ui component? I’m not finding any community posts describing this problem or a solution.Solved8KViews0likes11CommentsI need some guidance as in what category should I post into?
Hello there, This is my first post after just joining this discussion, so please forgive me and provide kind assistance if I have posted to the wrong subsection. I am new here but a real enthusiast and loving this community so far. I have a background in teaching coding and in education and feel I could help with documentation, at least for starters. As a new member in this forum and wish to share and gain some knowledge. I am looking forward to create my own discussion to resolve my query and gain some knowledge though I have taken part in various discussion which is definitely helped me a lot. Also in what category should be taken depends on what factors? Thank you in advance.Solved939Views0likes2CommentsI received an error: "The dimension was not found," even though I have it in my data model.
React component <Indicator title="Total Revenue" imeasure={measureFactory.sum(DM.Attendees.PricePaid)} dataSource={DM.DataSource} color={theme.palette.primary.main} filters={all_filters} primaryValueFormat="Currency" ShowSecondaryValue /> Data Model PricePaid: createAttribute({ name: 'PricePaid', type: 'numeric-attribute', expression: '[Attendees .PricePaid]', }),1.2KViews0likes3CommentsSorting Chart By Different Field Than The One Displayed
I have a column chart that is currently displaying events on the x-axis (through an "eventCode field), and they are appearing automatically in descending order by the "total competitors" (displayed on the y-axis). I would like to sort and display the events on the x-axis instead by an "eventKey" field that is also in the Data Model. Is it possible to sort chart axis labels by a different field? Basically, I want to be able to replicate the custom sort configuration (see attachment) that is offered on the Sisense website in compose sdk.Solved2.7KViews0likes4CommentsHelp with filterFactory.dateRange
I have indicators with a date range filter set up on the Sisense website (see attached image). I am trying to replicate this set up in my UI with the sisense/sdk-data filterFactory.dateRange function, and I am struggling to know how I need to format the dates I pass in to get the same results as the Sisense website. I have tried passing in dates in a "YYYY-MM-DD" format, a "MM/DD/YYYY" format, and a date (new Date()) format. With all of these formats my indicators either return a 0 or N/A value, or values that are way too high (so it seems like the filter is not being applied). What do I need to do differently to get this working? I am trying to filter to show data from the last four weeks. <IndicatorChart {...widget.getChartProps()} filters={[filterFactory.dateRange(DM.SeasonCalendar.CalendarDate, fourWeeksAgoFormattedDate, todayFormattedDate)]} />Solved1.7KViews0likes2Comments