cancel
Showing results for 
Search instead for 
Did you mean: 

Bex formula

Former Member
0 Kudos

Hi Experts,

I need identify as 'promotional' some materials when the 3º number in the code is "0", but I have not any char or attribute to identify they.

ex: if code = 12086 then dont show in report (because is promotional)

if code = 12186 then show in report (because is not promotional)

How can I do?

Thank you in advance,

Sandra.-

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

closed

former_member188975
Active Contributor
0 Kudos

Hi,

You can create a formula variable by replacement path to pick up the key of this char and then in the same variable definition choose offsets to pick up the 3rd number of the key. Then create a formula using this formula variable, and then a condition that will display only those records where the formula KF is more than 0.

Hope this helps...

Former Member
0 Kudos

Sorry for this But can i know How offset works in Formula Variable?

I know offeset for KeyFigures like creating buckets based on Date. Can you explain more what you are refereing.

former_member188975
Active Contributor
0 Kudos
Former Member
0 Kudos

Thanks Very Much. Sorry could not able to assign Points

Former Member
0 Kudos

Thank you Bhanu, is a very good trick.

I see that is the way in order to obtain a "text" string.

In need read this offset and compare this with the material code (0material), in order to validate when a materials contains this string as part of the material code.

Is this possible?

Thank you in advance!