Forum Discussion
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
| A | B | C | |
| Z | 1 | 4 | 7 |
| X | 2 | 5 | 8 |
| Y | 3 | 6 | 9 |
- Anonymous3 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
- JGLRegular Visitor
A B and C are columns
Z X Y are rows
- AnonymousNot 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.