Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何采取一项措施并将其分成两个新措施。第一个度量将仅包含正数,第二个度量将仅包含负数。
我试过创建一个组。这使新组成为一个维度,我可以将其切换回度量的唯一方法是先进行拆分。对我来说毫无意义。垃圾箱也不起作用。
您是否尝试过使用 IF 语句:
IF {measure > 0} THEN 'Positive' ELSEIF {measure < 0} 'Negative' END
创建两个计算字段:
积极措施
if measure >=0 // including values with 0 in positive then measure end
消极措施
if measure<0 then measure end