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
Hi,
I wanted to have totals of 7900 instead of 9061 for measure 'Passes output test'. But instead I got 9061. Can you please help? Below is my measure:
YearWeek | PROCESS | MACHINE | PRD_ORDERID | Actual ST Only | Num. Re-ST | GRADING | UNIT | VALUE | Total Normal Pass | Rerun 1x | Passes output | Passes output test |
Y24W34 | ST1 | ST1 | 7725354 | FALSE | Normal pass | C | SQFT | 5372.98 | 1161 | |||
Y24W34 | ST1 | ST1 | 7725354 | TRUE | Normal pass | C Hitam Sap | SQFT | 7225.92 | 7226 | 1161 | 7225.92 | 6065.1 |
Y24W34 | ST1 | ST1 | 7725354 | FALSE | Normal pass | C Sap | SQFT | 1178.05 | 1161 | |||
Y24W34 | ST1 | ST1 | 7725354 | TRUE | Re-ST 1x | C Hitam Sap | SQFT | 1160.82 | 1161 | 1160.82 | 1160.82 | |
Y24W34 | ST1 | ST1 | 7725354 | TRUE | Re-ST 2x | C Hitam Sap | SQFT | 674.91 | 1161 | 674.91 | 674.91 | |
9061.65 | 9061.65 | |||||||||||
7900.83 |
Solved! Go to Solution.
Hi @New_be ,
You can try this measure.
Correct total =
IF (
ISINSCOPE ( 'SURFACE TREATMENT MOVEMENTS'[YearWeek] ),
[Passes output test],
SUMX (
ALLEXCEPT (
'SURFACE TREATMENT MOVEMENTS',
'SURFACE TREATMENT MOVEMENTS'[YearWeek]
),
[Passes output test]
)
)
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @New_be ,
You can try this measure.
Correct total =
IF (
ISINSCOPE ( 'SURFACE TREATMENT MOVEMENTS'[YearWeek] ),
[Passes output test],
SUMX (
ALLEXCEPT (
'SURFACE TREATMENT MOVEMENTS',
'SURFACE TREATMENT MOVEMENTS'[YearWeek]
),
[Passes output test]
)
)
If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @New_be - Can you check the below measure, i have modified as per data. replace with your tablename
Hope this helps.
Proud to be a Super User! | |
Hi @New_be - you can update the measure as shared, you will definitely get the output as expected.
still any , please upload your pbix file in drive will check.
Proud to be a Super User! | |
Hi @rajendraongole1 ,
Thank you for your help. Here is the link to my sample report -> https://we.tl/t-Fa4wxK6or4
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 | |
84 | |
84 | |
73 | |
49 |
User | Count |
---|---|
143 | |
132 | |
110 | |
64 | |
55 |