Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

selecting a specific data in a table

Hi,   This is my first topic, I'm realy new at using Power BI. Please be indulgent :smileyhappy: I have a table (TABLE1) gathering different combination of 3 data (numbers and strings) for which I...
  • d_gosbell's avatar
    d_gosbell
    7 years ago

    If you are doing this as a calculated column in ZTM01 you could use the LOOKUPVALUE() function (see https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax )

     

    Which I think would be something like the following in your model:

     

    LOOKUPVALUE( RELACHE[Validation],
    RELACHE[Cas], ZTM01[Condition 1],
    RELACHE[DELAIS AVANT SM], ZTM01[Condition 2],
    RELACHE[CRENEAU], ZTM01[Condition 3]
    )