Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

lookup value bytext in another table

dear forum  I'm seeking to return 'Svar' number by a text measure in another table.  The data looks like this:  I want to find values in response collum when the the textvalue is "...
  • PattemManohar's avatar
    PattemManohar
    7 years ago

    Anonymous Please try this as a measure

     

    TotalResponses = CALCULATE(SUM(MultiLkpTest[Response]),FILTER(ALL(MultiLkpTest),MultiLkpTest[Text]="Test1"))

    Sample DataOutput

  • PattemManohar's avatar
    PattemManohar
    7 years ago

    Anonymous 

     

    TotalResponses = CALCULATE(SUM(Response[ResponseValue]),FILTER(ALL(Question),Question[QuestionName]="Test1"))

    QuestionResponseRelationshipOutput