- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
YTD,MTD,15 Days Sales calculation based on date selection on slicer
Hi All,
I need YTD,MTD, 15 Days sales calculation in a table based upon date selection slicer. how to calculate MTD, YTD sales based on date selected in a slicer.
Thanks,
Varsri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous ,
You just need to create a measure using DAX function TOTALMTD and TOTALYTD like pattern below:, then result will be filtered by the slicer.
Result = TOTALYTD ( SUM ( InternetSales_USD[SalesAmount_USD] ), DateTime[DateKey], ALLSELECTED ( InternetSales_USD ) ) Result = TOTALMTD ( SUM ( InternetSales_USD[SalesAmount_USD] ), DateTime[DateKey], ALLSELECTED ( InternetSales_USD ) )
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Anonymous ,
You just need to create a measure using DAX function TOTALMTD and TOTALYTD like pattern below:, then result will be filtered by the slicer.
Result = TOTALYTD ( SUM ( InternetSales_USD[SalesAmount_USD] ), DateTime[DateKey], ALLSELECTED ( InternetSales_USD ) ) Result = TOTALMTD ( SUM ( InternetSales_USD[SalesAmount_USD] ), DateTime[DateKey], ALLSELECTED ( InternetSales_USD ) )
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources
User | Count |
---|---|
109 | |
90 | |
82 | |
55 | |
46 |