Forum Discussion
arvindyadav
7 years agoPost Partisan
Total value is not correct.
Hi Team, I am getting total value Incorrect. The total value display in power bi for the entire month of the previous period but I need only total value for the previous period for current date ...
v-xicai
7 years agoCommunity Support
Hi arvindyadav ,
You can try to create a measure like DAX below.
Previous Period Profit = CALCULATE(SUM(Table1[Profit]),DATEADD(Table1[Date],-12,MONTH))
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
arvindyadav
7 years agoPost Partisan
Hi v-xicai ,
Can you please read the Message once again I have made changes. your Dax is not works for me.
The result I am getting after applying your measure is:
- arvindyadav7 years agoPost Partisan
- Geradav7 years agoResponsive Resident
Hi arvindyadav
Can you provide a file with some sample data? That could help better understanding the situation
- arvindyadav7 years agoPost Partisan