This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello everyone
I would like to return a value from a column that is the result of an IF,
the value I want to return is a column when the value meets some condition: IF(Table1[value] >= "98", Table1[value2]), I can not use a mesure for the sintaxis of the IF
I can got the value that I need, but when I put on the table I need to display the information, It repeats the same value for all the columns.
There is a way to fix that?
Note: all the values on the table are not the same, that is why I don't know how to diplay the correct value.
Solved! Go to Solution.
Hi @Anand24
The example could be something like this, there is another data but for the calculation I need, is based on this two fields, as you can see, it returns only one value, but in the data, there is 3 values that are "true" based on the expresion:
Column = IF(Table1[value] >= "98%", Table1[value2])
| Value1 | Value2 | Result |
| 50% | BD1 | BD5 |
| 45% | BD2 | BD5 |
| 98% | BD3 | BD5 |
| 99% | BD4 | BD5 |
| 100% | BD5 | BD5 |
On the table chart, it appears as Fist of Column, maybe that could be the error, there is a way to change that too?
Best Regards and thanks for your help
@Anonymous ,
I'm able to understand your query very vageuly but Try creating a calculated measure with the same formula.
Also, what should be shown for false cases? In your example, for 50% and 45%.
Try the below DAX as well:
Conditional Measure = IF(Table[Value1] >= 0.98,Table[Value2],BLANK())
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
Hi @Anonymous ,
Base data:
Column = IF('Table'[Value1]>= 0.98, 'Table'[Value2])
The result output is correct.And Check your value1 type,if question still not solved ,could you pls share your pbix flie?
And remember to remove confidential data.
Best Regards
Lucien
Hi @Anonymous ,
Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.
Best Regards
Lucien
Hi @Anonymous ,
Base data:
Column = IF('Table'[Value1]>= 0.98, 'Table'[Value2])
The result output is correct.And Check your value1 type,if question still not solved ,could you pls share your pbix flie?
And remember to remove confidential data.
Best Regards
Lucien
Hi @Anand24
The example could be something like this, there is another data but for the calculation I need, is based on this two fields, as you can see, it returns only one value, but in the data, there is 3 values that are "true" based on the expresion:
Column = IF(Table1[value] >= "98%", Table1[value2])
| Value1 | Value2 | Result |
| 50% | BD1 | BD5 |
| 45% | BD2 | BD5 |
| 98% | BD3 | BD5 |
| 99% | BD4 | BD5 |
| 100% | BD5 | BD5 |
On the table chart, it appears as Fist of Column, maybe that could be the error, there is a way to change that too?
Best Regards and thanks for your help
@Anonymous ,
I'm able to understand your query very vageuly but Try creating a calculated measure with the same formula.
Also, what should be shown for false cases? In your example, for 50% and 45%.
Try the below DAX as well:
Conditional Measure = IF(Table[Value1] >= 0.98,Table[Value2],BLANK())
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
Hi @Anonymous ,
Can you provide some sample data and expected output? Both in Tabular format.
Also, are both value1 and value2 coming from the same table?
Give a Thumbs Up if this post helped you in any way and Mark This Post as Solution if it solved your query !!! Proud To Be a Super User !!! |
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 9 | |
| 7 | |
| 7 |
| User | Count |
|---|---|
| 48 | |
| 27 | |
| 24 | |
| 24 | |
| 22 |