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
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 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 |
---|---|
18 | |
15 | |
12 | |
10 | |
8 |
User | Count |
---|---|
24 | |
17 | |
11 | |
11 | |
10 |