March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
I am looking for a little help on what seems like an easy task.
I have a table that looks like this:
Order# | Item# | ItemComplete |
123 | 1 | 1 |
123 | 2 | 1 |
123 | 3 | 0 |
123 | 4 | 1 |
I am looking to add a column that marks this order as "incomplete" on every record as item# 3 has not been completed. I'd like the column to show as below:
Order# | Item# | ItemComplete | OrderStatus |
123 | 1 | 1 | Incomplete |
123 | 2 | 1 | Incomplete |
123 | 3 | 0 | Incomplete |
123 | 4 | 1 | Incomplete |
Greatly appreciate any help!
Hi,
This calculated column formula works
Status = if(CALCULATE(COUNTROWS(Data),FILTER(Data,Data[Order#]=EARLIER(Data[Order#])&&Data[ItemComplete]=0))=1,"Incomplete","Complete")
Hope this helps.
Try something like:
OrderStatus = IF(CALCULATE(MIN([ItemComplete]), ALLEXCEPT(TableName, [Order])) = 0, "Incomplete")
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |