add subrows in pentaho table component cde - pentaho

Good afternoon,
I have the necessary data already in a table of pentaho cde. What I want to make it more beautiful and practical is to create sub rows. I do not know what information I have to give so that you can guide me a bit. I would like something similar to the image to remain. Thank you
What I have right now is this:
If it can be I would like that when you click on the second column, all of the third column will be displayed. thank you very much

Related

Is there a way in SSMS to auto expand the results header columns to see the full name of the column?

I don't understand why I'm looking at results and am not able to see the full column name. And then have to manually click through and expand each column I want to see. Is there really no way to do this?
Non expanded columns in results
I've researched but have found no one asking or even wondering about this. Am I the only one in the world who has a problem with this?!

SAP - how to get dynamic table and content

I have one question which is getting me really tired lately, since I cannot find anything that could help me.
I have one SAP Smart Form, which is called by my ABAP program, but the thing is that once I call, I want to have on the main window some data coming, like:
I have these fields as you'll can see in the image below:
What I wish to do is to read the table wa-data. Ex:
wa-data-day
wa-data-day_des
wa-data-ctimb
Once I read these data, I need to put it to print in the respective fields, example:
day in the column 1, line 1,
day_des the column 2, line 2.
And then respectively, to fill the form.
Does anyone have tips how I can do that by SMARTFORMS transaction?
Thank you so much for any help guys.
I need to sort it out, getting the solution for this, how can I do that? What is the right steps to do?

Identify Pivot Field using VBA

I am trying to write a macro which automatically identifies which field is the data taken from in a pivot.
I have some columns with different level of org information dragged under one another in "Row Labels" to create a structure. Now I need to identify which row in the pivot is linked to which field.
I am a self-taught coder and am very new to advanced vba so need some help.
How my pivots look
I am trying to get the name of the field in the blue circle
Thank you!
Nevermind guys, It was simpler than I thought. I am just an idiot for not figuring it out earlier.
Anyhow, the solution is that "ActiveCell.PivotField" returns the Pivot row's field.

(Excel-VBA) Specific data import (on the background) in the active sheet

Would you please help me (total beginner) to prepare a VBA macro that would open a sheet on the background and import specific selection as shown below:
Let's say we have downloaded wordcount analysis (xlsx) like this downloaded from a CAT tool for testing.
Now I would need to add a macro to my main sheet that would read lines starting (Column A) with "All". If "All" then I'd need to record columns of that line (specficilly Columns A - O) in array / hashtable?.
Please take a look at this image that summs it all (better than explaining it for me :-)
Let me know in case you need to know more details.
All tips / suggestions are greatly appreciated.
Many thanks!
My suggestion (I'm a beginner too) would be to use the Macro Recorder. Great tool to learn (example).
start recording
filter for 'ALL'
copy/past the Cells
stop Recording
Then have a look at the recorded code and adjust it :)
Looking at your data and the final layout you are looking for, using a Pivot Table would provide you with all of the flexibility you need.
You can:
filter which data to display
generate calculated values based on data in other columns
choose what order your columns are displayed
dynamically change the layout if you decide you want a different view
From your data, I was able to generate the following Pivot Table in about 15 minutes.
There are several good, simple tutorials on building Pivot Tables. A Google search will turn up plenty.
Things you will need to learn about for your particular problem:
Classic display (I used the classic display to get this particular layout)
Calculated Fields (many of the columns in the pivot table are calculated based on your spec). There is a maximum string length of 255 characters for a field calculation, so you may need to rename some of the columns in the original data set.
Of course, basics of Pivot Tables
Loading new data and updating your pivot table
Good Luck!

Get concrete value in Pentaho Report Designer

Let me explain my problem,
in Pentaho Report Designer I want to build such a report, where I have one data set, i.e. one request to database
SELECT code, name FROM EMPLOYEES
and show result of this request not in the form of list, but put every result in appropriate place. i.e. like in below picture
Where field "code" is unique, just one result can be put into red label in picture.
How can I do this in Pentaho Report Designer?
I can solve this problem by creating 3 data set, for each of caption. But what if captions like this will be much more, creating requests for each of this caption will not be so effective.
Hope I could explain my question.
I don't know if I got it right, but If you want to use the values returned by your query, you could create a new formula called "your_formula":
=MULTIVALUEQUERY("name_of_your_query")
This will give you an array with the result of the query. Then you could use another formula to get the 1st result of the array. For example:
=ARRAYLEFT([your_formula])
and get the first result of your query. This way let you use your_formula as parameter. This means you can drag and drop it on your report and use it.
I hope it helps.
Regards,
Tatan.