AutoCAD Plant 3D Forum
Welcome to Autodesk’s AutoCAD Plant 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Plant 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Report creator query filter multiple items

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
DGRL
1348 Views, 5 Replies

Report creator query filter multiple items

Dear forum,

 

Since the report creator PDF file does not cover this issue I would like to ask your help.

Due to the different types of datasheets we have I need to use the query filter in report creator to filter out multiple items. We use the short description to filter items on.
What is the correct filter string for this? 

 

I tried 

<>'LEVEL GAUGE' <-- Valid but this is only 1 item.....

 

<>'LEVEL GAUGE' or <>'SAFETYR RELIEF VALVE' <-- INVALID 

<>'LEVEL GAUGE' and <>'SAFETYR RELIEF VALVE' <-- INVALID

<>'LEVEL GAUGE' <>'SAFETYR RELIEF VALVE' <-- gives error "eQryErSynUnbalPar"

<>'LEVEL GAUGE' 'SAFETYR RELIEF VALVE' <-- gives error "eQryErSynUnbalPar"

<>'LEVEL GAUGE','SAFETYR RELIEF VALVE' <-- gives error "eQryErSynUnbalPar"

 

If there is another field that can be used to filter out multiple items please let me know.

Regards

 

 

 

If this was of any help please kudo and/or Accept as Solution
Kind Regards
5 REPLIES 5
Message 2 of 6
AndyDavisCadline
in reply to: DGRL

Hi,

 

If you want to include values, the syntax is: (IN 'LEVEL GAUGE', 'SAFETY RELIEF VALVE' ) 

To exclude values, the syntax is: (NOT IN 'LEVEL GAUGE', 'SAFETY RELIEF VALVE' ) 

 

Regards,

Andy


Andy Davis

Industry Specialist
Cadline Ltd.
Message 3 of 6
DGRL
in reply to: AndyDavisCadline

hi @AndyDavisCadline 

 

I tried that and it does not seems to work.
I will make a small screencast for you to see.
Please hold on will make it now.

 

If this was of any help please kudo and/or Accept as Solution
Kind Regards
Message 4 of 6
DGRL
in reply to: AndyDavisCadline

Dear @AndyDavisCadline 

 

I already found what I was doing wrong...
I forgot to apply the filter at INLINE instruments as well..

 

 

If this was of any help please kudo and/or Accept as Solution
Kind Regards
Message 5 of 6
dave.wolfe
in reply to: DGRL

I can't tell where you are setting up the filter, but my preference is to use the Filter String property in the Report Designer. To get there, select the Report (top level item) in the Report Explorer, and then open the Filter string property. It's much more powerful/easy to use than modifying the query, so you get a UI that takes care of formatting.

 

Similar syntax though:

 

2021-05-24_8-29-40.png

 

 
Dave Wolfe
Isaiah 57:15



Tips and Tricks on our blog: ASTI blog
EXPERT ELITE MEMBER
Plant 3D Wish list
Message 6 of 6
DGRL
in reply to: dave.wolfe

@dave.wolfe 

 

That is also a good solution. Either of them seems to work proper...

Thanks for pointing out

If this was of any help please kudo and/or Accept as Solution
Kind Regards

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report