Hi,
we enable or disable panel with a condition on a null value.
Files attached :
- liste.mrt : report.
- data.json : data used to produce report.
- Line_type_1.png : expression to filter type 1.
- Line_type_2.png : expression to filter type 2.
- export.png : incorrect pdf export
lines with order 1, 3 and 4 should have "CASSOULET CREOLE AU COCO", "BOITE TRANSLUCIDE PP 37,5CL /500" and "ARABIS caucasica" captions. This the expression in Line_type_1.png who contains artgrilleval_lib1 == null
lines whith order 5 should have "ENSEIGNE DE TROTTOIR DIBOND SUR PIED RES" caption. This the expression in Line_type_2.png who contains artgrilleval_lib1 != null
I think expression are incorrect but i don't understand where is my error.
I've unchecked "Convert nulls" on report component.
Thanks,
Fabien
Test on null value
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Test on null value
Hello,
Your column is a string, please check the following expressions:
{lignepiece.lignepiece_lib == ""}
Thank you.
Your column is a string, please check the following expressions:
{lignepiece.lignepiece_lib == ""}
Thank you.
Re: Test on null value
Hi,
It works.
it is important to know that the test should be done with double quotes and not single quotes.
Thanks,
Fabien.
It works.
it is important to know that the test should be done with double quotes and not single quotes.
Thanks,
Fabien.
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Test on null value
Hello,
You are welcome.
You are welcome.
Re: Test on null value
Hi rice purity test
It seems to be a technical issue related to enabling or disabling a panel based on a condition involving null values. The user is experiencing trouble with expressions in Line_type_1.png and Line_type_2.png but is unsure where the error lies, despite unchecking "Convert nulls" on the report component.
It seems to be a technical issue related to enabling or disabling a panel based on a condition involving null values. The user is experiencing trouble with expressions in Line_type_1.png and Line_type_2.png but is unsure where the error lies, despite unchecking "Convert nulls" on the report component.