Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi
i need to achive below table in powerbi if any order id having status as complete i need to mark all rows for that order id as Y
can you please help
order id | Status | complete flag |
244968 | Complete | Y |
244968 | open | Y |
244968 | cancel | Y |
269287 | open | N |
344968 | Complete | Y |
@Anonymous , Try a new column like
new complete flag =
var _cnt = countx(filter(Table,[order id] =earlier([order id]) && [status] ="Complete"),[order id] )+0
return
if(_cnt>=1, "Y",[complete flag])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
20 | |
15 | |
10 | |
10 | |
10 |
User | Count |
---|---|
15 | |
13 | |
12 | |
11 | |
10 |