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! Most likely a stupid question..Anyways, here we go
So I'm trying to calculate the total pick and pack cost per product. There is a base rate per order, however I want to allocate the order cost equally per order row/product.
See below picture. In this example I want order rows to say 3 on each line level in order for me to then allocate correctly.
I tried calculating it like this
Solved! Go to Solution.
@ErikOmni Maybe:
Order rows =
VAR __id = MAX('Sales'[order_id])
VAR __skus = FILTER(ALLSELECTED('Sales'),[variant_sku] <> BLANK() && [order_id] = __id)
RETURN
COUNTROWS(__skus)
@ErikOmni Maybe:
Order rows =
VAR __id = MAX('Sales'[order_id])
VAR __skus = FILTER(ALLSELECTED('Sales'),[variant_sku] <> BLANK() && [order_id] = __id)
RETURN
COUNTROWS(__skus)
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 |
---|---|
145 | |
87 | |
66 | |
51 | |
45 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |