Forum Discussion

andrew_hardwick's avatar
andrew_hardwick
Helper III
9 years ago
Solved

A single value for column 'Open_Date_Time__c' in table 'Problem' cannot be determined

I am trying to create a column to create the difference between 2 dates in seperate tables. The first table holds the records that were created in Table 1, the second table holds when the fields in t...
  • andrew_hardwick's avatar
    andrew_hardwick
    9 years ago

    Sorry for the dlay in repsonding. TBH I dont care whether I use a Column or measure, as long as it calculates for me :-)

     

    I have changed this to a measure, with DAX like below and this now works. Thanks for your help!

     

    MeasureDaysToNextValue = if(min('history: problem'[createddate])>0,CALCULATE(sum('Date'[IsWorkday]),DATESBETWEEN('Date'[Date],min(Problem[Open_Date_Time__c]),MIN('History: Problem'[CreatedDate]))),0)