cancel
Showing results for 
Search instead for 
Did you mean: 

Formula help

former_member402770
Participant
0 Kudos

Hi,

I have below report table, could you help on the questionmark placeholder same unit same HOD, same HOD diff Unit, Different HOD are the column headers where below kf to be derived based on condition..

Key figure: Commitment Amt

Requirment:

Same HOD Same unit arrive the above key figure

Same HOD Diff Unit arrive the above key figure

Diff HOD arrive the above key figure where it is not equal to Same HOD Same unit AND Same HOD Diff Unit

Regards,

Dinya.

Accepted Solutions (1)

Accepted Solutions (1)

jyothirmayee_s
Active Contributor
0 Kudos

Hi,

Try this formula,

=If( ([HOD] = Previous([HOD])) And ([ManagingUn] = Previous([ManagingUn]) ) )Then [Commitment Amt]

Check if this brings you right results.

Follow the same with other scenarios.

Thanks,

Jothi

Answers (3)

Answers (3)

former_member402770
Participant
0 Kudos

Hi Krishna,

The below formula

=If( ([HOD] = Previous([HOD])) And ([ManagingUn] = Previous([ManagingUn]) ) )Then 1

results as

I am also expecting flag 1 for first record as well in place of ? placeholder.

Regards,

Dinya

Former Member
0 Kudos

Hi Dinya,

What I am saying is

=If( ([HOD] =next([HOD])) And ([ManagingUn] =next([ManagingUn]) ) )Then 1.

Regards,

krishna.

jyothirmayee_s
Active Contributor

Hi Krishna,

There is no NEXT function in webI. You can use Max() instead,

Thanks,

Jothi

Former Member
0 Kudos

H Dinya,

Did you tried the same formula with replacing previous record with next record.

regards,

krishna

former_member402770
Participant
0 Kudos

Hi,

Thanks for your quick reply.

Indeed very helpfull, Please find the below output for your formula. same record data not showing for ? placeholder. Could you please help with the same data to display.

Iam looking for some kind of flag in the next to key figure column:

=If( ([HOD] = Previous([HOD])) And ([ManagingUn] = Previous([ManagingUn]) ) )Then 1.

It is displaying 1 only for 2nd record not for the first record as below

Regards,

Dinya