Forum Discussion
IF with nested CALCULATE Measure between 2 tables not functioning
I am looking to create a measure which pulls from 2 tables. The tables I have are:
* Building (includes data regarding a building's physical information)
*Compliance (includes data regarding compliance elements within a building).
I have a Measure that I use to do overall yes/no compliance as follows:
CALCULATE(
COUNTA(Compliance[Compliant]),
Compliance[Compliant]="no",
Building[Designation]="London"
)
This assume there is a relationship between the tables
If you want to learn more about that error look at row and filter context
2 Replies
- Deku
Super User
CALCULATE(
COUNTA(Compliance[Compliant]),
Compliance[Compliant]="no",
Building[Designation]="London"
)
This assume there is a relationship between the tables
If you want to learn more about that error look at row and filter context
- Ryan_KarolakNew Member
Thanks for a quick response that has fixed it. I've got a second measure to calculate total compliance within an area will adjust.
Kind Regards
Ryan