我有多个包含数字数据的列,我想将它们全部加在一起。
输出将是对我所有指定列进行求和的度量。
专栏:学习时间,年假时间,无薪休假时间等。
答案 0 :(得分:1)
您可以这样做:
Total Leave Hours = SUM('Table'[Study Leave Hours]) + SUM('Table'[Annual Leave Hours]) + SUM('Table'[Unpaid Leave Hours])
或者,针对上述每种类型的小时(例如Total Study Leave Hours = SUM('Table'[Study Leave Hours])
)执行度量,然后将3个单独的度量添加到一起:
Total Leave Hours = [Total Study Leave Hours] + [Total Annual Leave Hours] + [Total Unpaid Leave Hours]