Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powerbi 如何创建将每月值除以不同日期的度量?_Powerbi_Dax_Powerbi Desktop - Fatal编程技术网

Powerbi 如何创建将每月值除以不同日期的度量?

Powerbi 如何创建将每月值除以不同日期的度量?,powerbi,dax,powerbi-desktop,Powerbi,Dax,Powerbi Desktop,我的表中有两个不同的日期输入日期和结束日期。 日历表在输入日期列中加入 我需要将每月值除以输入日期的总和除以关闭日期的总和 忘记了用户关系功能: 首先,我在DateClosed和dim\u Date之间创建了非活动关系。 然后创建了一个度量: Claims by Closed Date = CALCULATE( [Ttl Closed Claims], USERELATIONSHIP(fact_Loss

我的表中有两个不同的日期
输入日期
结束日期
。 日历表在
输入日期
列中加入

我需要将每月值除以
输入日期的总和
除以
关闭日期的总和


忘记了用户关系功能:

首先,我在
DateClosed
dim\u Date
之间创建了非活动关系。 然后创建了一个度量:

    Claims by Closed Date = CALCULATE(
                             [Ttl Closed Claims],
             USERELATIONSHIP(fact_Loss[DateClosed],dim_Date[Date])
)