Forum Discussion
Get Sum for Current Financial Year
- 4 years ago
sarjensystems1 , Assume you have a date table with FY
Meausre =
var _FY = maxx(filter(Date, Date[Date] =Today() ), [FY] )
return
calculate(Sum(Table[Value]), filter(all(Date), Date[FY] = _FY))
To 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.
sarjensystems1 , Assume you have a date table with FY
Meausre =
var _FY = maxx(filter(Date, Date[Date] =Today() ), [FY] )
return
calculate(Sum(Table[Value]), filter(all(Date), Date[FY] = _FY))
To 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.
- sarjensystems14 years agoHelper III
Hi amitchandak
I am already using another measure in which i am multiplying Sales Amount With Currency Rates.Actual Amount for YTD = CALCULATE(SWITCH(TRUE(),HASONEVALUE('TO CURRENCY'[ToCurrencyCode]),Sumx( Sales, (Sales[Amount])*[TrnExchangeRate]),SUM(Sales[Amount])))
Is there any possibilities to get Data for Current Financial Year with This.