The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
User | Count |
---|---|
28 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
35 | |
14 | |
12 | |
9 | |
7 |