I noticed the after creating a reporting using the wizard that I could not edited with SQL. I could only edit using the wizard. The wizard does not allow me to create the report I need from the pre-loaded dropdowns so I was hoping I could create a report that is 90% of what I need by using the wizard and then edit it with SQL.
So, I downloaded MySQL Workbench, connected to the DB and found the REPORT table. Ran “SELECT * FROM ORG2.REPORT;” (yours maybe ORG1) and found the TITLE AND SQL_COMMAND columns. I then looked for the query I just created using the wizard, in the TITLE column, copied all the text from the SQL_COMMAND column and pasted it into a ‘New SQL’ report in KACE. Then I was able to edit it to meet my needs. Note: you will lose all the hyperlinks and formatting from the wizard, but you could manually add that logic back in. And test your new query in MySQL Workbench first before saving it in KACE.
Maybe this is common knowledge, but thought I should share since this seems, to me, like something that should be built in to the reporting interface on KACE.
For example -- the report I want to edit shows a link of:
//12.12.12.12/adminui/report_create.php?ID=4443
Visiting that will open the report in the Wizard mode only. Even copied reports do this. So take note the ID of the report - "4443"
Then I took the link of a report that is already SQL editable:
http://172.20.65.50/adminui/analysis_sql_report.php?ID=
And just added the ID at the end.
http://172.20.65.50/adminui/analysis_sql_report.php?ID=4443
Voila, I can now see and edit the SQL for that report! - cbrush 8 years ago
I found this to be a good time saver for customizing reports that are limited by the wizard. - wmwooten 5 years ago