I want use MDX queries directly against MySQL database. Right now I am using Pentaho's MIS analytics to run the MDX queries.
You can't execute MDX Queries on DB, but the related SQL query can be executed, for that to happen you will have Enable Mondrian Logs in Pentaho. So that it will generate the SQL Query for that particular MDX Query.
Please follow the steps:
Go to \pentaho\WEB-INF\classes.
Edit. Enable all the logs in Log4j File.
Enable the following Tags:
MONDRIAN
MDXLOG
SQLLOG
I'd suspect the answer is no.
You execute MDX against a multi-dimensional structure - MySQL database is relational.
You need to store the data in a multi-dimensional format first - then mdx may be possible.
Related
I have Qlikview installed on my pc and it takes the data from a database.
I want to write an sql query which would take the same data(for automatization).
The problem is that my sql query returns 30+k more records than Qlikview.
I believe, that Qlikview is adding more restrictions than I do in my sql code.
So is there a way to find out what limitations and filters Qlikview is applying when retrieving data, so I could copy these filters to my sql script?
I'm trying to use Prometheus to monitor my MySQL database but can't seem to find an area to add SQL queries. For example, I'd like to run a SQL query which returns a value and then add that value to the graph/send an alert. Is there a way to have Prometheus send SQL queries and retrieve the output?
Thank you
https://github.com/chop-dbhi/prometheus-sql will allow queries to be run against any SQL database that can then be scraped as metrics.
I have an SQL Database (SQL Server 2008 r2) that I link to Tableau via a Custom SQL Query (connected to a view in SQL). Instead of adding the new fields in the SQL Database, I am creating calculated fields in Tableau. Thedata source connected to Tableau is a viewI created by joining other views (there is a pivot I join to the main table). I want to now add the parameters from tableau as new fields in SQL and remove them from Tableau since it is bogging the tool down. What do you recommend to be the best approach in this? I have never added fields to a view and curious how this can be achieved. All of the parameters work in tableau only via the custom SQL query (the view created), but would not if I created them from the main data table in SQL.. I hope this makes sense. Thank you so much for the help! Have a great day -p
its always a good practice to create all your required fields calculation in sql table which will improve your performance. and create a extract connection with your table instead of live.
All of the examples I've found show how to use query by sql statement, as: 'connection.query("select * from my_table",...)', but I want to do it without sql statement, but with store procedure.
I found something about 'db-mysql' that supplies this option but I didn't success installing it.
I don't want to use sql statement in my code.
I want to select, update etc. by stored procedures in my mysqldatabase (like C#).
How can I do it?
Checkout http://sequelizejs.com/ it is a node compatible orm which allows you to easily interface with sql without needing to use sql statements.
I can without any problems run a sql query in DataMethods in Business Intelligence when I use DynamicsReports.
Question: How to use the same way for MDX query?
I want to run a MDX query in DataMethod because I need to work with the results - to use Linq to Datatable.
Is any way to do that, or to run a DataSet in DataMethod?
I assume that you want data access methods similar to SQL for MDX as well.
You can created linked server for SSAS and use openquery to exec MDX.
SELECT * FROM OPENQUERY(linked_server_olap, mdx_query)
You can execute this as sql statement / store procedure
Other alternative would be using ADOMD.NET