Power BI:确认三列文字为="yes"

Power BI: Confirm the text of three columns is ="yes"

我有下面的公式来检查如果三列中记录的值等于是,则为 1,否则为 0。错误是“,”的语法不正确,为什么?

SanityCheck_APAC&EM = IF('Connectivity Coverage analysis xlsx_https://iontradingcom sharepoint com/teams/F'[APAC]="yes" && 'Connectivity Coverage analysis xlsx_https://iontradingcom sharepoint com/teams/F'[Emerging Markets])="yes" && RELATED(components_mkt[pacific_rim])="yes",1,0)

也许“(”和“)”是问题所在?您打开它们 2 次并关闭它们 3 次。

SanityCheck_APAC&EM = IF
(
  'Connectivity Coverage analysis xlsx_https://iontradingcom sharepoint com/teams/F'[APAC]="yes" 
  && 'Connectivity Coverage analysis xlsx_https://iontradingcom sharepoint com/teams/F'[Emerging Markets]
)
  ="yes" 
  && RELATED
(
  components_mkt[pacific_rim]
)
  ="yes",1,0
)