Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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.
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!