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.
How can I calculate column "C" from "A" & "B" columns? Thank you.
a | b | c |
0 | 7 | 7 |
3 | 10 | 17 |
6 | 2 | 19 |
9 | 4 | 23 |
12 | 9 | 32 |
15 | 18 | 50 |
Solved! Go to Solution.
Well, you cannot unless you have an Index column or the value of A for each row of increases in a sorted fashion. If the latter is indeed the case then you could do this:
c =
SUMX(FILTER('Table',[a] <= EARLIER([a])),[b])
Well, you cannot unless you have an Index column or the value of A for each row of increases in a sorted fashion. If the latter is indeed the case then you could do this:
c =
SUMX(FILTER('Table',[a] <= EARLIER([a])),[b])
Thank you, @Greg_Deckler . Your formulate works for me.
If you know any page which explains "EARLIER" function, please let me know.
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 |
---|---|
11 | |
6 | |
3 | |
3 | |
3 |
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
7 |