Hi,
I want to show or hide a shape depending on whether a linked table has any row matching my conditions on two seperat columns.
My table ParameterControl already works with this filter (via TableRowFilter
/fullFilter
) and displays the correct rows.
I now want a shape to mirror this behavior—show if there is at least one matching row in the table I created (parameter control), and hide otherwise.
I managed building this logic with one condition on one parameter, but I need to be able to check both parameters. 15399 == [Property:ScreenSingle] AND 15402 == 2
I’m unsure how to attach the same multi-condition filter to a shape’s Hide/Show logic.
What is the correct, supported pattern to implement Hide/Show so the shape shows when any row of a table param matches my conditions and hides otherwise? Can I reuse the table’s filter, or is there a recommended syntax? If possible, please point me to the relevant documentation.
Thank you and best regards,
Hi David,
I believe what you are looking for is the Extended Conditional Shape Manipulation/Multiple Conditions Combined: Extended conditional shape manipulation actions | DataMiner Docs
You would add a Shape Data field HIDE with the filter criteria after it using <A>and<B> criteria. I believe the following will work in your case:
[Shape date field] | [Shape data expression]HIDE | <A>and<B>-A|Element:[Property:DMProbeID]|Parameter:15399|=*[Property:ScreenSingle]*-B|Element:[Property:DMProbeID]|Parameter:15402|=2
Let us know if you have any problems.
It took me a while but i figured it out.
Thank you Steve!