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: 
Not applicable

Convers number

Hello i want for my budget to converse only the nummer 8495 to minus (see attached file).

It's now 22.283 and i want it to become - 22.283

2 Replies
Jason_Michaelides
Luminary Alumni
Luminary Alumni

IF(SubField(grb_omschrijving,' - ',1)=8495,SUM(BUDGETBEDRAG)*-1,SUM(BUDGETBEDRAG))

Try that - probably best in the script.

Hope this helps,

Jason

jagan
Luminary Alumni
Luminary Alumni

Hi,

You can also try like this

If(Left(grb_omschrijving, 4) = 8495, Sum(BUDGETBEDRAG) * -1, Sum(BUDGETBEDRAG))

Hope this helps you.

Regards,

jagan.