March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |