If set up an attribute vor packaging material anmade it boolean as a checkbox. When I wnat to make a report now I don't want to show it in the table below the picture of the model. I tried to use the "skip_if" in the attributes, but it's still visible. Then I tried the filters in the report setup, but I can filter that the "packaging material" has the value true, but I can't say, please don't filer the components where "packaging material" is null, because it is not automatically set to false if the checkbox is checked.

Any ideas to find an proper way to not display the packaging material.

Cheers,

operatorone

Views: 178

Reply to This

Replies to This Discussion

Tilman,

I'll try to duplicate this and see why it doesn't work.

It would help a lot though, it you could send me a small model where you've set this up, and it doesn't work. Then I can see exactly what you're running into.

Thanks,

Rich

email: rich.hart@renderplus.com

I have sent you the model plus a screenshot of my settings.

Yours,

Til

I posted a new version where this is working as it should.

The Skip If attribute won't affect components which do not have that atribute set at all.

Please try it and see if that works for you.

Thanks, Rich

Hi Rich,

thanks for the fix. Now it works very smoothly. I set the checkbox and it doesn't appear in the report at all. Good work!!!

Thanks,

Til

Close, but unfortunately not complete. I generated a report with a component marked as packaging material. I chose the column packaging material to be displayed in the report and when a report is generated, the row with the component isn't displayed. But if I don't choose the column packaging material not to be displayed in the report the component is displayed again. Is there a possibility to exclude it from the report if the column packaging material is not chosen for the report?

Thanks,

Til

Did you send Rich a model to test this. If so, (or if not), send it again with the latest settings.


Send it to support@renderplus.com so that we both get it. (Rich is on vacation until next Thursday)

Thank you for sending a sample model.


The solution is somewhat "counter-intuituve".

1. You have to include the Verpackung attribute as included in the report, even though you don't want to see it. Otherwise its value is not computed as the report is generated. You can also set 'suppress' to suppress this attribute from the report.

2. Then you need to set it to not display when the report is generated. It is used for calculations, but not shown on the report:


Note the next post - this step is not necessary to suppress the Verpackung attribute from the report. (We should fix the Wizard below to not show 'suppressed' attributes.)

And you will get the result you want:

I will add a comment about this to the documentation for 'skip_if'

As I was updating the documentation for skip_if. I noticed that tere is a suppress  setting in the first image in the previous report. If the Verpackung field is marked skip_if, use in report, and suppress. Then it will work properly without the middle step.

Reply to Discussion

RSS

About

Render Plus created this Ning Network.

Search


Enter a phrase here to search the entire Render Plus web site:

Loading

Translate

Latest Activity

© 2024   Created by Render Plus.   Powered by

Badges  |  Report an Issue  |  Terms of Service