Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Guys, I am trying to get the result based of certain conditions to get PASS, FAIL AND MISSING for the DIFOT Status column is a Calculated Column and DOT Status is also a calculated column which gives the correct results
So the DOT Status calc column checks if each rows arrival date time less than arrival cut off, if less than PASS else FAIL , if null then MISSING
for DIFOT Status how do i get a faill for all itemID of a conID as it has failed one?
So the issue im facing is when i do a count of DIFOT PASS and DIFOT FAIL and MISSING based on conID it gives 1 count to each as DIFOT status has three different values (PASS , FAIL and MISSING)
So if there are 3 conID with 3 items each , all item id of 2 conID has passed all but if last conID has 1 pass 1 fail and 1 missing it gives each of the count to DIFOT PASS and DIFOT FAIL and MISSING , but as the last conID has 1 fail it should fail all it should count as 1 DIFOT FAIL
Please do let me know if you guys have any questions, thanks.
conID | itemID | arrival date time | arrival cut off | DOT Status | DIFOT Status | Required DIFOT Status | |||
ABC | ABC#1 | 05/06/2024 8:30am | 05/06/2024 7:00am | FAIL | FAIL | FAIL | |||
ABC | ABC#2 | 05/06/2024 6:30am | 05/06/2024 7:00am | PASS | PASS | FAIL | |||
ABC | ABC#3 | null | 05/06/2024 7:00am | MISSING | MISSING | FAIL |
Solved! Go to Solution.
maybe you can try this
Proud to be a Super User!
maybe you can try this
Proud to be a Super User!
this works , thanks you are a legend !!
you are welcome
Proud to be a Super User!
Thanks for the reply, will get back to after I have tried this out.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
118 | |
75 | |
46 | |
44 | |
34 |
User | Count |
---|---|
179 | |
89 | |
69 | |
47 | |
47 |