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 如何使用DAX计算power BI中最近(按日期)和最大prodcount_Powerbi_Dax - Fatal编程技术网

Powerbi 如何使用DAX计算power BI中最近(按日期)和最大prodcount

Powerbi 如何使用DAX计算power BI中最近(按日期)和最大prodcount,powerbi,dax,Powerbi,Dax,在使用内置功能的power BI中,我通过以下步骤实现了如何提取最近的生产计数(最大值): 1. Relative date filtering by 1 day (including today) and Choosing the latest date value in the Viz section 2. Filtering shift to TOP N , TOP 1 by LATEST time 3. Choosing the max value of production count

在使用内置功能的power BI中,我通过以下步骤实现了如何提取最近的生产计数(最大值)

1. Relative date filtering by 1 day (including today) and Choosing the latest date value in the Viz section
2. Filtering shift to TOP N , TOP 1 by LATEST time
3. Choosing the max value of production count in Viz section

我想创建一个度量,仅显示高光的生产计数,如图所示

此度量将实现以下功能:


如果您能提供一个示例数据和预期输出,那就太好了。这将进一步支持你的问题嗨!我已经添加了一个样本数据,请检查并让我知道!计算(最大值(表名[列名])工作:)!谢谢,请确保它有效:)这正是您的示例数据,值是正确的。