Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 10 | |
| 7 | |
| 6 |