How to generate an identity column in hyperion interactive reporting? - reporting

I want to display an auto-incremented series (basically the row number) in a new column. How do I go about doing this in Hyperion Interactive Reporting ?

Create a new computed column and assign it a value of 1.
Then, create another computed column which will have a cumulative sum of the previous computed column. The function to be used is Cume().

Related

Using DAX to get a table from nested table

In powerBI, I using the python script and generate one table. The generated table is a nested table. Each row value is actually a table. and so now I want to use DAX to copy one specific row value(which is a table), just the "dataset_filtered" table shown as below.
what's the DAX code for this ? or any good suggestions ?
The nested table
This is M rather than DAX.
Click the drop down arrow in the name column to filter the row you want.
Click the expand arrows in the Value column to expand the table.

PowerBI - Lookup by Multiple Criteria

I'm a new PBI user and would like help on the following:
I have 2 tables (Table 1 & 2). Table 1 is a bookings report showing sales orders, part numbers and order value. Table 2 is a margin report showing sales orders, part numbers with additional descriptive text and margin value.
I would like to copy margin values from Table 2 into a new column in Table 1 by looking up by sales order and part number.
Any help would be appreciated!
Tables1
Extract text using the LEFT function
Use the COMBINEVALUES function to create new column in each table. The new column will merge two existing old columns.
Depending if you have unique values in the lookup table, use LOOKUPVALUE function, if not, use this approach: DAX lookup first non blank value in unrelated table

Delete columns from BIRT report

I have a BIRT Excel Report with 10 columns. I have a query which executes and brings the data for all the 10 columns.
However, based on one of the input parameters, i need to display just 8 columns. I am able to hide the remaining 2 columns but i would like to delete those 2 columns from the report so that user does not see the hidden columns.
I tried to change the query but i am unable to dynamically set the select parameters.
Is there a way either in Query or in BIRT to remove few columns based on an input condition.
You cannot delete the columns, but it's sufficient to hide them dynamically using the column's visibility expression. You can add an aggregation to the table, using the MAX function for the column data (let's call it max_name).
E.g. if your table column shows the DS column NAME and you want to hide the column if NAME is empty for all rows:
Add an aggration (let's call it MAX_NAME) to the table, with the aggregation function MAX and the expression NAME. Then in the visibility expression of the table column, use !row["MAX_NAME"] as the expression.
After drag and drop the dataset. Right click on column header and select the delete column option.

Update value in oracle form

I have a database table Land with colums:
serial, seller_name, sell_date, sell_price
I am using a datablock named land. To update the table I am using the same datablocks field. I am using a lov to take the already saved values and I am dropping those values in the datablock land.
I want to update the values based on the serial number. I am using on button pressed trigger under a button and used the commit_form. But every time new data is inserted with the same serial number. I am looking for a way to update the table for that specific serial number.
To load the right row into the data block, you have to do the following in your trigger:
enter_query(no_validate);
:serial := your_lov.whatever;
execute_query;
This will connect the datablock with the correct row, instead of overwriting another row.

How to create Row Sequence Number in ORC tables

I would like to add Row Numbering or Row Sequence ID column which will automatically increment row id value. Hive UDF UDFRowSequence can be used but it runs in single reducer. I would like to know is there any other feature in latest hive 0.14 to increment row sequence automatically in oRC.
You might like to look at the ROW_NUMBER() function in a window covering the whole set. It relies on the data being sorted, but should therefore allow parallel partition processing.

Resources