Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hello,
I try to display revenue in financial years i.e. April2018 to April2019. Everything looks good until I try to look at the yearly billing. It splits into 2018 and 2019. But they are in one financial year and should be combined together.
At the moment, it looks like this but I want to combile them together.
Thanks,
Ricky
@Anonymous
My calendar date is CALENDARAUTO(3) already but it still shows normal years rather than financial years.
Thanks,
Ricky
@rickylee I need to see your file to be of any help. I tested CALENDARAUTO(3) on my end and it seems to work fine for me. If you can't share your data, can you recreate the issue and post that in a power bi file.
@rickylee another way would be to calculate a full fledged date table using something like this and add a custom calc for fiscal year in it.
Dates 5 = GENERATE ( CALENDAR( DATE( YEAR( TODAY() ) - 2, MONTH( TODAY() ), DAY( TODAY()) ), TODAY()), VAR startOfWeek = 1 // Where 1 is Sunday and 7 is Saturday, thus a 3 would be Tuesday VAR currentDay = [Date] VAR days = DAY( currentDay ) VAR months = MONTH ( currentDay ) VAR years = YEAR ( currentDay ) VAR nowYear = YEAR( TODAY() ) VAR nowMonth = MONTH( TODAY() ) VAR dayIndex = DATEDIFF( currentDay, TODAY(), DAY) * -1 VAR todayNum = WEEKDAY( TODAY() ) VAR weekIndex = INT( ROUNDDOWN( ( dayIndex + -1 * IF( todayNum + startOfWeek <= 6, todayNum + startOfWeek, todayNum + startOfWeek - 7 )) / 7, 0 ) ) RETURN ROW ( "day", days, "month", months, "year", years, "day index", dayIndex, "week index", weekIndex, "month index", INT( (years - nowYear ) * 12 + months - nowMonth ), "year index", INT( years - nowYear ) ) )
Whats your x-axis. It seem you might have calendar year instead of fiscal year in the axis.
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Check out the November 2024 Power BI update to learn about new features.
User | Count |
---|---|
92 | |
88 | |
83 | |
76 | |
49 |
User | Count |
---|---|
146 | |
137 | |
109 | |
68 | |
55 |