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 have two tables - Table A has daily data and Table B has weekly data. They have two common fields - Product and Week Ending.
Problem: I need a Calculated Measure to get the SUM of the Daily data from Table A and divide that by the value in Table B for the corresponding Product and Week Ending period. Is this possible?
So something like this --> Table A / Table B where Product & Week Ending matches
Solved! Go to Solution.
No relationship between the two tables
You can create a measure as follows.
Measure = DIVIDE(MAX(TableA[Volume]), CALCULATE(MAX(TableB[Volume]), FILTER(TableB, [Product] = SELECTEDVALUE(TableA[Product]) && [Weeking Ending Date] = SELECTEDVALUE(TableA[Week Ending Date]))))
Is this the result you expect?
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
No relationship between the two tables
You can create a measure as follows.
Measure = DIVIDE(MAX(TableA[Volume]), CALCULATE(MAX(TableB[Volume]), FILTER(TableB, [Product] = SELECTEDVALUE(TableA[Product]) && [Weeking Ending Date] = SELECTEDVALUE(TableA[Week Ending Date]))))
Is this the result you expect?
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |