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! It's time to submit your entry. Live 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!!!
| User | Count |
|---|---|
| 49 | |
| 37 | |
| 31 | |
| 22 | |
| 19 |
| User | Count |
|---|---|
| 132 | |
| 100 | |
| 56 | |
| 37 | |
| 37 |