Forum Discussion
How to get YTD expression ?
Hi All
May i know how to get expression YTD Rev amount that result = 123,825.13
My PBI file :-
Paul
admin11 , Try time intelligence with date table
YTD Sales = CALCULATE([1_rev_],DATESYTD('Date'[Date],"12/31"))
Power BI — Year on Year with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
https://www.youtube.com/watch?v=km41KfM_0uATo get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
2 Replies
- amitchandakSuper User
admin11 , Try time intelligence with date table
YTD Sales = CALCULATE([1_rev_],DATESYTD('Date'[Date],"12/31"))
Power BI — Year on Year with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a
https://www.youtube.com/watch?v=km41KfM_0uATo get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
- admin11Memorable MemberThank you very much it work fine now._YTD REV = CALCULATE(GL[AMOUNT_],DATESYTD('Date'[Date],"12/31"))Paul Yeo