Forum Discussion
Problems with "If" formula
- Anonymous6 years ago
No Problemo mi amigo. Mi espanol es mal, pero Google Translate works lol. That error is usually due to trying to create a measure instead of a calculated column. Check out the link below:
https://community.powerbi.com/t5/Desktop/Measure-single-value-cannot-be-determined/td-p/65612
If you were trying to create another measure, you will likely need to create a calculated column instead.
If this helps please give Kudos
If this fixes your problem please accept it as a solution
Hey Anonymous
Can you post a copy of your formula?
Some ideas:
Make sure you are using proper syntax.
If you are referencing other tables make sure to use the correct syntax for referencing other tables as well.
If your measure result and column are in different formats you may have to use the FORMAT function to get them to compare properly.
The formula i am using is the next:
- Anonymous6 years agoNot applicable
No Problemo mi amigo. Mi espanol es mal, pero Google Translate works lol. That error is usually due to trying to create a measure instead of a calculated column. Check out the link below:
https://community.powerbi.com/t5/Desktop/Measure-single-value-cannot-be-determined/td-p/65612
If you were trying to create another measure, you will likely need to create a calculated column instead.
If this helps please give Kudos
If this fixes your problem please accept it as a solution
- Anonymous6 years agoNot applicable
Thanks that helped a lot.
But now I have another problem.
The formula [MTTR DIC] mentioned above its affected by a filter I create, so, when I change the filter, "A3" should change too because this one depends on [MTTR DIC] but it doesnt change.
How can I fix that?
Thanks Amigo
- Anonymous6 years agoNot applicable
Hey Anonymous
If my other post solved your initial question please accept it as the solution.
For your next question. I'm not sure I entirely understand. Where is the filtering happening?
Suggestions:
You can either use the FILTER function in your formula: https://docs.microsoft.com/en-us/dax/filter-function-dax
Or the LOOKUPVALUE function to lookup the value for the "A3" vaiable based on the filter: https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax
LOOKUPVALUE functions much like vlookup in excel.