Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I'm trying to build a column that calculates the $ value of multi day 'loading' event based on a daily price and event load rate.
Something like this:
calculate the sum of ( date_n price per tonne*daily qty ) where n = load start date ... load end date
Can't get it to work.. any suggestions?
Solved! Go to Solution.
@rack201 , In case you need a new column
New column = [Daily Qunatity] * datediff([start],[end],day)
Hi,
I am not sure if I understood your questions correctly, but please try below.
If the data model has the index column in the Load Table, a calculated column might seems more simple than the below.
Please check the below picture and the attached pbix file.
Hi @rack201
do want this in a calculated column or you want visualize it in a matrix/pivot table? Are you using Power Bi or Excel Power Pivot?
Hi,
I am not sure if I understood your questions correctly, but please try below.
If the data model has the index column in the Load Table, a calculated column might seems more simple than the below.
Please check the below picture and the attached pbix file.
Fantastic- this got me to a working solution - thank you!
@rack201 , In case you need a new column
New column = [Daily Qunatity] * datediff([start],[end],day)
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.
| User | Count |
|---|---|
| 10 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 11 | |
| 8 | |
| 8 | |
| 8 |