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 All,
Need help again with a calculated column for the scenario below:
INVOICE | ITEM | STATUS | FINAL STATUS |
23797402 | BEVERAGE | PENDING | DELIVERED |
23797402 | POULTRY | DELIVERED | DELIVERED |
23797402 | MEAT | DELIVERED | |
24296696 | DAIRY | PENDING | DELIVERED |
24296696 | POULTRY | DELIVERED | DELIVERED |
24912330 | BEVERAGE | PENDING | PENDING |
Desired output is the FINAL STATUS column where "DELIVERED" will be applied to all rows with the same INVOICE number as long as "DELIVERED" can be found in the STATUS column even if some entries are blank or "PENDING".
Many thanks in advance.
Solved! Go to Solution.
Hi @jrpoli2000
Try this Column
Final Status = IF ( CONTAINS ( FILTER ( Table1, Table1[INVOICE] = EARLIER ( Table1[INVOICE] ) ), Table1[STATUS], "DELIVERED" ), "DELIVERED", "PENDING" )
Hi @jrpoli2000
Try this Column
Final Status = IF ( CONTAINS ( FILTER ( Table1, Table1[INVOICE] = EARLIER ( Table1[INVOICE] ) ), Table1[STATUS], "DELIVERED" ), "DELIVERED", "PENDING" )
Thanks again!!!
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 |
---|---|
87 | |
87 | |
87 | |
67 | |
49 |
User | Count |
---|---|
135 | |
112 | |
100 | |
68 | |
67 |