Forum Discussion
HBALAMURUGAN
3 years agoFrequent Visitor
Custom YTD
I want to create custom Year To date. I am currently using the query Calculate(Sum(value),DATEADD(Date,-1,Year)) and this calculation is -365 days. I want to give the start date as (Start of the d...
- 3 years ago
Calculate(Sum(value),DATESBETWEEN(Dates[Date],Date(Year(Today())-1,1,1),Today()-365))
v-yalanwu-msft
3 years agoCommunity Support
Hi, HBALAMURUGAN ;
Can you give an example? I don't quite understand, could provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
Solved: How to upload PBI in Community - Microsoft Power BI Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.