I'm not sure if this has been addressed in this forum but I wasn't able to find any references hence this question.
We have a requirement to support custom SQL (i.e., not generated by webi) for some of our reports. The same column needs to appear more than once in the report and but I am unable to drag it from my set of universe objects more than once into the report pane. I've tried using a blank cell and trying to bind that to the query but haven't had any success.
What is the best way to create such reports in web intelligence?
Uday
Request clarification before answering.
Hi,
Open webi report > Data access > Edit > SQL (on top of query window).
There you have the option of adding custom sql and modify the query.
Else you could create a derived table in the Universe and bring to report.
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should use different columns from the universe for the custom query but you will have to make sure the data type and measure and dimensions match with your custom sql..
Once you have done this you can just use these objects (all different) with a reference to what you have defined in the custom SQL
Also check the screenshot where I am using territory code in custom query even the element in the report is a different dimension
My custom query (with genericised view names to protect the innocent) is attached.
As you can see, it involves multiple joins on the same view (e.g., View2 is joined twice, once as relation x and once as relation x2). View2 has ISN as one of its columns.
I need to drag this twice into my report pane - once for the first column of the report (x.ISN) and once for the 12th column (x2.ISN). Webi will not let me drag this column a second time so how do I get around it?
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.