Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 |
Solved! Go to Solution.
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.
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.
A B and C are columns
Z X Y are rows
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |