DAX for filtering data up to given Year in Power BI Report:
Create MaxDateKey measure in FactFinancial table using below DAX
MaxDateKey = CALCULATE(MAX('Date'[DateKey]), ALLEXCEPT('Date', 'Date'[FYYear]))
Revenue = CALCULATE(sum(FactFinancial[Amount] ),DimAccount[AccountType] = "Income", FILTER(DimDate, DimDate[DateKey] <= [MaxDateKey] ))
All other measure like QoQ and Total Amount you apply below logic
Revenue = CALCULATE(sum(FactFinancial[Amount] ),DimAccount[AccountType] = "Income", FILTER(DimDate, DimDate[FYYear] = max('Date'[FYYear]) )
MaxDateKey = CALCULATE(MAX('Date'[DateKey]), ALLEXCEPT('Date', 'Date'[FYYear]))
Revenue = CALCULATE(sum(FactFinancial[Amount] ),DimAccount[AccountType] = "Income", FILTER(DimDate, DimDate[DateKey] <= [MaxDateKey] ))
All other measure like QoQ and Total Amount you apply below logic
Revenue = CALCULATE(sum(FactFinancial[Amount] ),DimAccount[AccountType] = "Income", FILTER(DimDate, DimDate[FYYear] = max('Date'[FYYear]) )
Online Casino in Rajasthan | Datta, Kavluru - Kadangpintar
ReplyDeleteWith a maximum 온카지노 of 5000 rupees, a งานออนไลน์ new online casino will be built in Rupiah and the main thing is the number of players. In the case 1xbet korean of a