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.
I have been trying to replicate something I had been doing very manually on Excel, involving a VLOOKUP then counting non blanks in the result. I have attached the sample data for that purpose, and this is the working to replicate it in Power BI.
Solved! Go to Solution.
Hi @maashi ,
I can not see the sales order type in the sample data.
Based on the description, try to use the following dax formula.
Working Column =
VAR _order = 'Table2_2'[Original Sales Order]
RETURN
MAXX(
FILTER(
'Table2_2',
'Table2_2'[Sales Order No] = _order &&
'Table2_2'[Sales Order Type] IN {"Type1", "Type2"}
),
'Table2_2'[Sales Order No]
)
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @maashi ,
I can not see the sales order type in the sample data.
Based on the description, try to use the following dax formula.
Working Column =
VAR _order = 'Table2_2'[Original Sales Order]
RETURN
MAXX(
FILTER(
'Table2_2',
'Table2_2'[Sales Order No] = _order &&
'Table2_2'[Sales Order Type] IN {"Type1", "Type2"}
),
'Table2_2'[Sales Order No]
)
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
22 | |
13 | |
11 | |
10 | |
10 |