The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello,
I need to create a DAX measure to compute the total volume over the past 12 months from a specific date, cumulatively. This date is different for each user, and is represented in the LastProofOfFunds column.
Solved! Go to Solution.
Hi @Anonymous ,
Do you have the date column and the corresponded volume value in the table? If so you could refer the following measure.
Total Volume = CALCULATE(SUM('Table'[Volume]),FILTER(ALLSELECTED('Table'),'Table'[date]<=SELECTEDVALUE('Table'[LastProofOfFunds ])&&'Table'[date]>=EDATE(SELECTEDVALUE('Table'[LastProofOfFunds ]),-12)))
Best Regards,
Jay
Hi @Anonymous ,
Do you have the date column and the corresponded volume value in the table? If so you could refer the following measure.
Total Volume = CALCULATE(SUM('Table'[Volume]),FILTER(ALLSELECTED('Table'),'Table'[date]<=SELECTEDVALUE('Table'[LastProofOfFunds ])&&'Table'[date]>=EDATE(SELECTEDVALUE('Table'[LastProofOfFunds ]),-12)))
Best Regards,
Jay
Hi,
Here is an example.
Start data:
Dax:
Hopefully this helps and if it does, consider accepting this as a solution!
Proud to be a Super User!
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |