Forum Discussion
DieLem
8 years agoHelper II
Hide partial YTD Column
Hi! See image attached. I have a Line and Column chart. The line is this year's Target and the colunms are the current year's Actual values. However it looks iffy with current year's values remain...
- 8 years ago
Hi,
Try this formula
IncrementTr YTD = if(VALUES('Date'[Date])<=TODAY(),CALCULATE([IncrementTr Total],DATESYTD('Date'[Date],"30/6")),BLANK())
- 8 years ago
Ashish_Mathur
8 years agoSuper User
Hi,
Try this
=CALCULATE(SUM(Data[Sales]),DATESBETWEEN(Calendar[Date],DATE(YEAR(TODAY()),1,1),TODAY()))
Hope this helps.
DieLem
8 years agoHelper II
Unfortunately it doesn't work. Strong chance I am doing it wrong though! See the post above for a link to the example.
Thanks!
- Ashish_Mathur8 years agoSuper User
Hi,
Try this formula
IncrementTr YTD = if(VALUES('Date'[Date])<=TODAY(),CALCULATE([IncrementTr Total],DATESYTD('Date'[Date],"30/6")),BLANK())
- DieLem8 years agoHelper II
- Ashish_Mathur8 years agoSuper User
You are welcome.