I am using retool app for creating dashboard I am getting a response from rest api i.e.
Data:
message:[{‘col1’:’abc’,’col2’:’qwerty’},{‘col1’:’efg ’,’col2’:’qwwsa’},{‘col1’:’xyz’,’col2’:’pqrst’}]
In table data I am giving passing query data like
{{query1.data.message}}
It is not working message is already in array.
In addition to that when running the query builder I am getting correct data but in retool app query preview it shows escape character i.e. backslash() before quotes in data.
Related
This request is working fine
https://localhost:3000/api/catalog/1435
Being catalog the method and 1435 the catalogId to get.
I cannot transform the server (ASP controller) to work with
https://localhost:3000/api/catalog/?1435
that is, 1435 become a Query param.
How can I make the last method configurable in a Postman request?
The original seems perfectly fine to be honest:
https://localhost:3000/api/catalog/1435
Now, if you want to query the catalog, and thus use a query string, you would likely want to do it as:
https://localhost:3000/api/catalog?id=1435
This is what a client could do to GET a catalog that matches id 1435. In my mind, this makes more sense if you can query a catalog by multiple parameters. Because from a data model point of view if the catalog resource key is the id, then I would use what you had originally.
The PowerBI connector doesn't work, since it defaults to the IE browser, and our IE browser is locked down by our IT department (can't connect to smartsheet site). So, I need to use the "web" API option to get my smartsheet data. I have the data coming in, but I'm brand new at this and I'm having trouble organizing it. I have 8 columns that are repeating as rows, and the cell data contains a bunch of metadata values that I don't want. How do I get this so the columns become columns again, with the cell data as rows (with just the face values) and not repeating?
screenshot of data in PowerBI
I think you need to read a good part of the documentation in order to get used to the responses you get from Smarsheet, in brief you get a Json data structure.
First read, https://smartsheet-platform.github.io/api-docs/#how-to-read-a-sheet-response
Then you need to make the json connection to PowerBI like this example, https://www.mssqltips.com/sqlservertip/4621/using-power-bi-with-json-data-sources-and-files/
I'm looking into OpenSearch and trying out the dashboards & data querying but am having some difficulty with some specific queries I'd like to run.
The data I have streaming into OpenSearch is a set of custom error logs which the #message field contains json such as: ...{"code":400,"message":"Bad request","detail":"xxxx"}... (the entire message field is not valid json as it contains other data too)
I can specifically query for the code field with "code:400" but would like a more generic query to match all 4XX codes but adding any type of wildcard or range breaks the query and the quotes surrounding it are required otherwise the results include code OR 400
Is there any way to achieve this with the kind of data I have or is this a limitation in the querying syntax?
I am trying to run a direct query on my DB and apply a filter input by the user. The user input would be used as a parameter for my Stored Procedure that retrieves the data I want to display to the user. The reason for running a direct query and not just refreshing the data and then the user filtering from all of that data, is that the database is really large and it would make the report file approx. 650mb in size. My idea is that with a direct query, I can pull only the data required through an indexed column that the Stored Procedure uses to filter.
Currently I was able to create a parameter in the Query editor and use it in a query function but this creates an "Invoked Function" table. If I use these results in my report essentially the user can only filter through the result I filtered in my query editor. I want the user to be the one to input that value and the report to dynamically load it.
As far as the filter field, I am using a slicer and added the search capability to it so they can type out the search value and select the result in the list. Ideally I would like a textbox that they can type the value they want and search for it.
Is this possible in PowerBI? and if so how could I accomplish this?
You have to download a separate application called Power BI Report Builder to accomplish this and create a paginated report. See Url below:
Paginated Reports
I am using the Firebase C++ SDK (on desktop) to retrieve data from the realtime database. I want to store some parts of the database on the client but I can only get a firebase::Variant. I would just like to store the json that belongs to the data path as a file.
I could iterate over the data and generate json from that, but that seems to be a lot of overkil as the data is retrieved from json in the first place.
Is there a way to retrieve the json itself (as text), instead of querying the values and children from firebase::database::DataSnapshot?
Kind regards,
Jeroen