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'm looking to get the cost prices for bundle products for our sales data. Unfortunately the list of cost prices i have only show the cost for single items. Is there a dax calculation that can account for the bundle sku code of X2 or X3 to calculate the cost from the single price item?
I have attached an image of the data.
Solved! Go to Solution.
HI @Jameswh91,
You can create a calculated column to multiply the 'unit price' with 'bundle qty' field values to get the total price. If they are not stored in the same table, you can use lookupvalue function to get the bundle qty based on the current 'SKU code'.
LOOKUPVALUE function (DAX) - DAX | Microsoft Docs
Regards,
Xiaoxin Sheng
HI @Jameswh91,
You can create a calculated column to multiply the 'unit price' with 'bundle qty' field values to get the total price. If they are not stored in the same table, you can use lookupvalue function to get the bundle qty based on the current 'SKU code'.
LOOKUPVALUE function (DAX) - DAX | Microsoft Docs
Regards,
Xiaoxin Sheng
@Jameswh91 So what is the logic for that calculation?
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 |
---|---|
105 | |
75 | |
44 | |
39 | |
33 |
User | Count |
---|---|
165 | |
90 | |
65 | |
46 | |
43 |