Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Solved! Go to Solution.
Hi @GunnerJ
You seem to be using FILTER with three arguments. It takes only two. Try this, where I'm assuming you want and AND
02.Min.Task Time by SO# = CALCULATE ( MIN ( 'Open SO data'[BI_EVENT_DT_TM] ), FILTER ( ALLEXCEPT ( 'Open SO data', 'Open SO data'[BI_SO_NBR], 'Open SO data'[BI_WRKFLW_TASK_SEQ_NBR], 'Open SO data'[BI_WORK_EVENT_CD], 'Open SO data'[BI_WORKGRP] ), OR ( 'Open SO data'[BI_WORKGRP] = "CONFOLLOW", OR ( 'Open SO data'[BI_WORKGRP] = "CONST", 'Open SO data'[BI_WORKGRP] = "SUB" ) ) && 'Open SO data'[BI_WORK_EVENT_CD] = "DELAY" ) )
or this (I don't know what you are trying to do)
02.Min.Task Time by SO# = CALCULATE ( MIN ( 'Open SO data'[BI_EVENT_DT_TM] ), FILTER ( ALLEXCEPT ( 'Open SO data', 'Open SO data'[BI_SO_NBR], 'Open SO data'[BI_WRKFLW_TASK_SEQ_NBR], 'Open SO data'[BI_WORK_EVENT_CD], 'Open SO data'[BI_WORKGRP] ), OR ( 'Open SO data'[BI_WORKGRP] = "CONFOLLOW", OR ( 'Open SO data'[BI_WORKGRP] = "CONST", 'Open SO data'[BI_WORKGRP] = "SUB" ) ) ), 'Open SO data'[BI_WORK_EVENT_CD] = "DELAY" )
Hi @GunnerJ
You seem to be using FILTER with three arguments. It takes only two. Try this, where I'm assuming you want and AND
02.Min.Task Time by SO# = CALCULATE ( MIN ( 'Open SO data'[BI_EVENT_DT_TM] ), FILTER ( ALLEXCEPT ( 'Open SO data', 'Open SO data'[BI_SO_NBR], 'Open SO data'[BI_WRKFLW_TASK_SEQ_NBR], 'Open SO data'[BI_WORK_EVENT_CD], 'Open SO data'[BI_WORKGRP] ), OR ( 'Open SO data'[BI_WORKGRP] = "CONFOLLOW", OR ( 'Open SO data'[BI_WORKGRP] = "CONST", 'Open SO data'[BI_WORKGRP] = "SUB" ) ) && 'Open SO data'[BI_WORK_EVENT_CD] = "DELAY" ) )
or this (I don't know what you are trying to do)
02.Min.Task Time by SO# = CALCULATE ( MIN ( 'Open SO data'[BI_EVENT_DT_TM] ), FILTER ( ALLEXCEPT ( 'Open SO data', 'Open SO data'[BI_SO_NBR], 'Open SO data'[BI_WRKFLW_TASK_SEQ_NBR], 'Open SO data'[BI_WORK_EVENT_CD], 'Open SO data'[BI_WORKGRP] ), OR ( 'Open SO data'[BI_WORKGRP] = "CONFOLLOW", OR ( 'Open SO data'[BI_WORKGRP] = "CONST", 'Open SO data'[BI_WORKGRP] = "SUB" ) ) ), 'Open SO data'[BI_WORK_EVENT_CD] = "DELAY" )
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
87 | |
82 | |
71 | |
49 |
User | Count |
---|---|
143 | |
120 | |
110 | |
60 | |
57 |