Forum Discussion

xyPMaHraPa's avatar
xyPMaHraPa
New Member
2 years ago

String search and/or filter using another filtered table.

Hi all.

 

I have "P table" with column "Details".

Also I have "A table" with Column "Code" - this table is filtered (let's name this "BA filter" applied to different column "AO" - not sure ifg this infromation is needed)

I want to create a measure or calculated column to filter (or count rows in) "P table" where "Detail" column contains all possible values from "A table" column "Code". 

And ofcause I need this to be based on "BA filter" selected at the moment.

 

Thank you in advance.

 

 

2 Replies

    • xyPMaHraPa's avatar
      xyPMaHraPa
      New Member

      Hi, sorry for not responding so long time, now i'm back to thius excersise again.

      Nice feature, but doesn't work for me. Column where I serach values from the initialy filtered column is not exact. it could contain initial values.

      I'll try to draw:

      Ptable

      P_IDDetails
      P0001Detailed description of P0001 could contan A code such as MAR, CAR, or any other. O could contain no such info as a plain text.
      P0002Detailed description of P0002 could contan A code such as MAR, CAR, FL01 or any other. O could contain no such info as a plain text.

       

      Atable

      CodeAO
      MARMVM
      CARMVM
      FL01

      JP

      X123JP
      478960JPM

       

      So my target to monitor filter applied to Atable[AO]. Let's say it is filtered by 'JP'

      And search all values from Code column ('FL01' and 'X123') in the text of PTable[Details].

      So result should be P0002, since it contains 'FL01' in its body.