Forum Discussion
P0W3RB1
Helper I
10 years agoFiscal Years in a Bar Chart
I Have a bar chart, and a timline from the custom visuals where you can set a fiscal year which is great, but lets say a fiscal year is july to july, i can select that fiscal year on the timeline but...
v-sihou-msft
Microsoft Employee
10 years ago
In this scenario, you can create one column to show the “Month Year” (Type Text) which sorted by another created column “Year Month” (Type Whole Number). Please refer to following steps.
- Create a column to format the full date.
Month_Year = FORMAT ( Table1[Date], "MMM YYYY" )
- Create a column to convert the year and month to a whole number.
Year_Month = YEAR ( Table1[Date] ) * 100 + MONTH ( Table1[Date] )
- Select column of “Month_Year” and then click ‘Sort By Column of Year_Month’.
- Drag a Timeline (select Date for Time) and a Stacked bar chart (select Month_Year for Axis) as below.
Regards,
P0W3RB1
Helper I
10 years agov-sihou-msft i think this may have worked! im just checking all the figures add up but its looking good thank you! i will mark as resolved when i know for sure.