Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
i have a date dimension which has fiscal year periods defined in it, as well as calendar year periods
I am trying to get the Previous Years Fiscal Month Revenue
Previous Year Revenue = CALCULATE(
SUM('Registrations'[Revenue]),
FILTER(ALL('Date'),
'Date'[Fiscal Month] = 'Date'[Fiscal Month]
&& 'Date'[FYYear]='Date'[FYYear]-1))
unfortunately this is returning blank data,
Proud to be a Super User!
Solved! Go to Solution.
Hi @vanessafvg,
Could you try the formula below to see if it works?
Previous Year Revenue = VAR currentFYYear = 'Date'[FYYear] VAR currentFiscalMonth = 'Date'[Fiscal Month] RETURN CALCULATE ( SUM ( 'Registrations'[Revenue] ), FILTER ( ALL ( 'Date' ), 'Date'[Fiscal Month] = currentFiscalMonth && 'Date'[FYYear] = currentFYYear - 1 ) )
Regards
Hi @vanessafvg,
Could you try the formula below to see if it works?
Previous Year Revenue = VAR currentFYYear = 'Date'[FYYear] VAR currentFiscalMonth = 'Date'[Fiscal Month] RETURN CALCULATE ( SUM ( 'Registrations'[Revenue] ), FILTER ( ALL ( 'Date' ), 'Date'[Fiscal Month] = currentFiscalMonth && 'Date'[FYYear] = currentFYYear - 1 ) )
Regards
Hello Guys.
I am in a similar situation, I need to get the sales for the WHOLE last fiscal year (for current date).
But when I try this formula, I get Error:
Error: Calculation error in measure 'Sell In Full Last Year': A single value for column 'Fiscal Year' in table 'Date' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.
How should it be changed?
Thanx in advance
anyone out there?
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |