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
Hi, I am trying to write a simple new measure calculation for this test report
I have 2 tables like below, code refers to an album
I just want to do something like albumlength = calculate(sum(album title Abbey Rd
etc
Any help greatly appreciated
Solved! Go to Solution.
@Jay2077 , based on what I got a measure like this should do
calculate(sum(Table1[length]), filter(Table1,Table1[song title] = "Abbey Rd"))
Hi !
You can solve this by proper Data Modelling.
You can create a 1-Many relationship between [Album] & [Songs] table based on [Code] column.
Now you can simply, create a measure to calculate sum of lenght like below;
Album Lenght = SUM(Song[Lenght])
This will simple give you Total Length of Album if you plot a chart against Album.
Regards,
Hasham
Thank you
Can't get this working
if the top table is called Sheet 1 and the 2nd is called year how would i write your code ?
Thank you
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 |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 15 | |
| 8 | |
| 8 | |
| 8 |