Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |