Skip to main content
Question

NA to 0 in the lobby element

  • October 24, 2024
  • 7 replies
  • 107 views

Forum|alt.badge.img+4

Fields from empty data in this element appear as NA. How to change that these NA s are 0.

7 replies

WyrDavidB
Hero (Partner)
Forum|alt.badge.img+9
  • Hero (Partner)
  • 82 replies
  • October 24, 2024

Hi @Sena Kayıkçı 

Is this a lobby element you have created yourselves or in a std IFS lobby?

Regardless, depending on the data source, you could potentially update the SQL generating that column to something like

nvl(field_name,0)

or

case when field_name = ‘NA’ then 0 else field_name end

 

hope this helps


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • 9 replies
  • November 1, 2024

Hi @WyrDavidB ,

I already tried this but it didn’t work.

Is there any other place where ı can use nvl?

 


WyrDavidB
Hero (Partner)
Forum|alt.badge.img+9
  • Hero (Partner)
  • 82 replies
  • November 4, 2024

Hi @Sena Kayıkçı 

Can you share the code for the data source please - I suspect that you will need to make the change in the data source, instead of the element.

Dave


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • 9 replies
  • November 4, 2024

Hi @WyrDavidB ,

Of course.

 


WyrDavidB
Hero (Partner)
Forum|alt.badge.img+9
  • Hero (Partner)
  • 82 replies
  • November 4, 2024

@Sena Kayıkçı - I’ve done a bit more digging - assuming that this is a matrix type element, I don’t think there is anything else you can do here.

The NA’s are being generated by the element, not the data source.

Others may know different, but I can’t see or think of a method to replace these NA’s with a number. Good luck!


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • 9 replies
  • November 5, 2024

Okay @WyrDavidB , thank you.

Good luck!

 


Forum|alt.badge.img+1
  • Do Gooder (Customer)
  • 3 replies
  • November 14, 2024

Hello,

We get the same issue simce we move to IFS Cloud.
I dit not find any trick yet.

Does anyone found a solution ? 

kind regards

Anthony