Forum Discussion

JGL's avatar
JGL
Regular Visitor
3 years ago
Solved

Value based on matrix

I would like to have a measure that return an only value, with two conditions as index+match in excel

 

For example, if I choose Row X and Column B, the value will be 5

 

 ABC
Z147
X258
Y369
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi JGL ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) This is my test data. 

    (2) We can create a measure. 

    Measure = IF(MAX('Table'[Type])=SELECTEDVALUE('Table'[Type]) && MAX('Table'[Type2])=SELECTEDVALUE('Table'[Type2]),MAX('Table'[Value]),BLANK())

    (3) Then the result is as follows.

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

     

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

3 Replies

    • JGL's avatar
      JGL
      Regular Visitor

      A B and C are columns

      Z X Y are rows

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi JGL ,

     

    According to your description, here are my steps you can follow as a solution.

    (1) This is my test data. 

    (2) We can create a measure. 

    Measure = IF(MAX('Table'[Type])=SELECTEDVALUE('Table'[Type]) && MAX('Table'[Type2])=SELECTEDVALUE('Table'[Type2]),MAX('Table'[Value]),BLANK())

    (3) Then the result is as follows.

    If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

     

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.