我有一个调查摘要表TABLEA,如下所示:
Response, Count, ClientName, ClientOffice, ClientRegion
Some of the time, 1, ClientA, London, South
All of the time, 12, ClientA, Birmingham, North&Mids
Some of the time, 12, ClientB, Coventry, North&Mids
Hardly ever, 7, ClientB, Coventry, North&Mids
我有一个加载表,如下所示:
Response, Loading
Hardly Ever, 0.2
Some of the time, 0.7
All of the time, 0.9
我最后想要的是能够在表格中显示以下内容或在图表中使用:
ClientName, FinScore, ClientOffice, ClientRegion
Client A, 0.7, London, South
Client A, 10.8, Birmingham, North&Mids
Client B, 9.8, Coventry, North&Mids
这里我需要列出每个不同的ClientName,ClientOffice,ClientRegion
FinScore是总得分x负载的总和,因此例如,客户B在这里=(12 * 0.7)+(7 * 0.2)
使它复杂化的是,我需要能够省略ClientOffice,ClientRegion(或这两者)。例如:
ClientName, FinScore
Client A, (1*0.7)+(12*0.9)
Client B, (12*0.7)+(7*0.2)
我不确定在创建称为FinScore的度量之前需要采取的步骤。我尝试了不同的方法,但始终收到错误“无法确定表'Loadings'中列'Loading'的单个值。当度量公式引用包含多个值的列时,可能会发生这种情况。 / p>
有人可以引导我吗?