Forum Discussion
Odd Issue with Dates
- 7 years ago
The reason is simple:
1 - BLANK() = 1
More info in Handling BLANK in DAX article.
You probably want to do this:
InvScore = VAR __score = [SumScore] VAR __value = (1 - __score) * (NOT ISBLANK(__score)) RETURN __value
Marco Russo - SQLBI
- 7 years ago
Because a report is a crossjoin between columns you include unless auto-exists is triggered.
Which I think it's not the case in your scenario.
BTW: a one-to-one relationship is usually a very bad idea - I'd use iit only if there are no other choices importing data from two different data sources.
Marco Russo - SQLBI
Because a report is a crossjoin between columns you include unless auto-exists is triggered.
Which I think it's not the case in your scenario.
BTW: a one-to-one relationship is usually a very bad idea - I'd use iit only if there are no other choices importing data from two different data sources.
Marco Russo - SQLBI
marcorusso - I agree about the 1:1, it just happened to come out that way because I was plugging in test data and didn't feel like entering more data than I needed to! In the real customer scenario it is a 1:*. Thanks for the link to auto-exists!