表达式=IF('注册明细'[结算类型.1]="城市分级cpa",SWITCH('注册明细'[城市分级],"一线",LEFT(RELATED('结算类型'[城市分级单价]),2),"二线",MID(RELATED('结算类型'[城市分级单价]),4,2),"其他",RIGHT(RELATED('结算类型'[城市分级单价]),2)),0)
表达式=IF('注册明细'[结算类型.1]="城市分级cpa",SWITCH('注册明细'[城市分级],"一线",LEFT(RELATED('结算类型'[城市分级单价]),2),"二线",MID(RELATED('结算类型'[城市分级单价]),4,2),"其他",RIGHT(RELATED('结算类型'[城市分级单价]),2)),0)