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.
| version | onboarding plan | app id | No of Feeds | OUTPUT | Modified | |
| 4 | A_0002 | XYZ | 2 | 12 | 2/1/2024 | |
| 3 | A_0002 | XYZ | 2 | 10/1/2023 | ||
| 2 | A_0003 | XYZ | 20 | 3/5/2024 | ||
| 1 | A_0003 | XYZ | 10 | 12 | 2/1/2024 |
Solved! Go to Solution.
Hi @Anonymous
You seem to want to calculate the "feed" sum based on the maximum modification date that is less than the modification date of the current version.
For your question, here is the method I provided:
Create measures.
Query the maximum modification date that is less than the modification date of the current version.
max modified date = var _max = CALCULATE(MAX('Table'[Modified]), FILTER(ALL('Table'), 'Table'[onboarding plan] = MAX('Table'[onboarding plan])))
RETURN CALCULATE(
MAX('Table'[Modified]),
FILTER(
ALL('Table'),
'Table'[onboarding plan] = MAX('Table'[onboarding plan])
&&
'Table'[Modified] < _max
))
Calculate the sum.
OUT PUT =
CALCULATE(
SUM('Table'[No of Feeds]),
FILTER(
ALL('Table'),
'Table'[Modified] = [max modified date]
)
)
Here is the result.
If you're still having problems, provide some dummy data and the desired outcome. It is best presented in the form of a table.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
You seem to want to calculate the "feed" sum based on the maximum modification date that is less than the modification date of the current version.
For your question, here is the method I provided:
Create measures.
Query the maximum modification date that is less than the modification date of the current version.
max modified date = var _max = CALCULATE(MAX('Table'[Modified]), FILTER(ALL('Table'), 'Table'[onboarding plan] = MAX('Table'[onboarding plan])))
RETURN CALCULATE(
MAX('Table'[Modified]),
FILTER(
ALL('Table'),
'Table'[onboarding plan] = MAX('Table'[onboarding plan])
&&
'Table'[Modified] < _max
))
Calculate the sum.
OUT PUT =
CALCULATE(
SUM('Table'[No of Feeds]),
FILTER(
ALL('Table'),
'Table'[Modified] = [max modified date]
)
)
Here is the result.
If you're still having problems, provide some dummy data and the desired outcome. It is best presented in the form of a table.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |