Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
TomBond77
Specialist
Specialist

SAP BW: hide value of compounded infoobject in Qlik

Good Day

I am very new to Qlik.

We uploaded BW data to QlikSense. In BW Query (formerly BEx) I have set the properties on infoobject 0CO_AREA to "no display". This infoobject is the compounded one of 0COSTCENTER.

Anyway, in Qlik this property seems to be ignored.

Now I need the right script to hide this value in Qlik.

Example:

0COSTCENTER:

1000/5000000001 -> 5000000001.

Any ideas?

Thanks

Tom

1 Solution

Accepted Solutions
TomBond77
Specialist
Specialist
Author

got it:

Right(Trim(SCOSTCENT), Len(Trim(SCOSTCENT)) -6) as [Cost Center ID],

View solution in original post

5 Replies
martinpohl
Partner - Master
Partner - Master

Hi,

a filter is always a filter for a dialog user, in tables all datas are in.

I suggest:

load

subfield(0COSTCENTER,'/',2) as 0COSTCENTER,

-> delimitted by the string / you only get the second value

Regards

TomBond77
Specialist
Specialist
Author

Thanks Martin

Unfortunately it is not working.

subfield(SCOSTCENT,'/',2) as [Cost Center ID] results in '-'.

Reason: There is no '/'. The first 4 places are the compounded char. How do we script to show only the result after the 4th place of the left? Tried to find something with LEFT and an offset, but without success.

Can you help on this?

Regards

Tom

 

TomBond77
Specialist
Specialist
Author

the compounded combination is shown as:

10005000000001

The first four figures are the cost area.

TomBond77
Specialist
Specialist
Author

I need: 5000000001

TomBond77
Specialist
Specialist
Author

got it:

Right(Trim(SCOSTCENT), Len(Trim(SCOSTCENT)) -6) as [Cost Center ID],