Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
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")
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
107 | |
68 | |
48 | |
48 | |
44 |