Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello!
I have a table with some ORDER movements during a certain period (DATE).
Consider a ChainValue where the main company ships its products to it's retailers/Customers (DEST_CUSTOMERS) and then the retailers further sell to their final customers.
Each transaction represents has it's own costs (TRANSPORT, DOCS and INSURANCE) for a certain WEIGHT.
GOAL: Calculate the sum of costs for each ORDER that a RETAILER sends to a final CUSTOMER, considering the averaged costs that the SOURCEproducer had by sending products to his location in the past few X-days.
In other word, for each row I would have:
Total_Costs = sum(TRANSPORT) + sum(DOCS) + sum(INSURANCE) + AveragedCostsFromSource
(In practice, this AveragedCostsFromSource) would be an weighted average of its costs, depending on weight beeing transported)
The Problem: I cretated a Calculated Measure that works fine, but because of performance issues and memory limitation, I am unable to see more that some thousand lines calculation and summarized in a visualization table, Howevere I have 6 millions rows in this dataset so I thought a calculated column would solve my problem.
Need therefore help creating a correspodent Calculated Column from my Measure AveragedCostsFromSource. I tryed several approaches but didn't get anything to work (it shows me blanks or it's not accepting some of the filters). Maybe this is not the best approach either, so feel free to comment the best approach.
Thanks.
Measure:
AveragedCostsFromSource =
Solved! Go to Solution.
Thanks for noticing. Forgot to put in that line when I copy&past it from my original file.
But that was not the solution for problem 😞
Solved the problem myself. Simple actually!
As a calculated column one has to use the rowvalue and not the SELECTEDVALUE as used on my measure. Thanks anyway guys
Solved the problem myself. Simple actually!
As a calculated column one has to use the rowvalue and not the SELECTEDVALUE as used on my measure. Thanks anyway guys
Hi @sloopools
in measure you have part "_selectedCustomer" but no VAR for this part.
Hope this help, kudos appreciated.
Proud to be a Super User!
Thanks for noticing. Forgot to put in that line when I copy&past it from my original file.
But that was not the solution for problem 😞
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.