cancel
Showing results for 
Search instead for 
Did you mean: 

Generating Sequence of Numbers in BEX Query Designer

Former Member
0 Kudos

Hi All,

I want to present Numbers in Sequence (1,2,3,.....). Please let me know how can I create such formula in Bex Query Designer.

Accepted Solutions (1)

Accepted Solutions (1)

ccc_ccc
Active Contributor
0 Kudos

Hi Karthik,

I did and able to generate sequence number.

Just do like this.

  1. Add required infoobjects in ROWS
  2. Create New formula, let call Sequence
  3. In General Tab-->keep 1
  4. In Calculations Tab-->Check "Cumulated" and Calculation Direction -->Calculate Along the Rows

That's it , execute report, you can see sequence numbers.

Thank you,

Nanda

Former Member
0 Kudos

Thank You Nanda...It's working

Loed
Active Contributor
0 Kudos

Hi,

You can already close this thread by clicking the CORRECT ANSWER..

Regards,

Loed

ccc_ccc
Active Contributor
0 Kudos

Hi Karthik,

You can close thread now by clicking correct answer.

Regards

Nanda

Answers (2)

Answers (2)

Former Member
0 Kudos

In addition to Nanda's steps, it is also helpful in the Calculations tab to set Calculate Results As: Summation

Thanks

James

Former Member
0 Kudos

Thank You James...It's working

Former Member
0 Kudos

Add formula column. In the Detail View Enter 1 and Aggregation Total (Sum) and in Calculation Tab Tick on Cumulated.

But since it is a KF can not be taken as Left Most Column

Former Member
0 Kudos

Hi Sucheta,

Thanks for your reply. But, it's not working ...showing up only 1. Its not showing Sequence. Can you please elaborate if possible...