Forum Discussion

Francesco's avatar
Francesco
Frequent Visitor
9 years ago
Solved

Data filtering by table values

Hi, here is my question.   I have one data table with 2 columns: 1. timestamp column format dd/mm/yyyy hh:mm:ss    (steps of random seconds) 2. parameter values (integer number)  I have creat...
  • Phil_Seamark's avatar
    Phil_Seamark
    9 years ago

    You can add a calculated column to your DataTbl table which tests for the existance of the same timestamp in the SecondTable

    and returns the Parameter Value if it finds on and 0 if it doesn't find a match.

     

    I notice you SUM your ParameterValues, do you want to SUM if there are multiple matches?

     

     

    New Column = IF(
                    RELATED(SecondTable[TimeStamp])<>BLANK(),
                    'DataTbl'[Parameter],
                    0
                    )