Join 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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I put these tables below to simplify my issue.
I have 2 tables, with a one to many relationship.
I need to write a DAX formula to find the sum of all increases in cash between 9/12/2019 and 9/18/2019.
Here, Lola lost 2 USD, and Paul won 30. Thus, the DAX formula should return 30 (which is 60-30).
I know that I need to compare the oldest balance record for each person with the newest balance, but I can't find a proper DAX formula to make this work.
Any help is more than welcome.
Thanks.
Nathan
Solved! Go to Solution.
Hi @Anonymous ,
I changed your data little bit to make sure that I was picking up hte correct date and balance for each.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Measures
Proud to be a Super User!
Hi @Anonymous ,
I changed your data little bit to make sure that I was picking up hte correct date and balance for each.
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Measures
Proud to be a Super User!