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 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!!!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
145 | |
87 | |
66 | |
52 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |