Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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 the chart still shows Jan, Feb, March etc rather than July > to july ?
How to change that?
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.
Month_Year = FORMAT ( Table1[Date], "MMM YYYY" )
Year_Month = YEAR ( Table1[Date] ) * 100 + MONTH ( Table1[Date] )
Regards,
@v-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.
Check following.
1. Do you have a calendar or date table.
2. Create columns for MonthName = FORMAT([FullDate], "MMM"), Fiscal Year, FiscalMonthNumber
3. FiscalYear can be based on formula like If (Month([FullDate]) >= 7, Year([FullDate]), Year([FullDate]) - 1)
4. Similarly FiscalMonthNumber can be based on a formula If (Month([FullDate]) >= 7, Month([FullDate]) -6 , Month([FullDate]) +6 ). This will generate the month numbers as 1 for July and 12 for June.
5. For the MonthName set the sort by column ass FiscalMonthNumber.
6. When you place MonthName in the bar chart it will always show Starting with July.
If it works please accept this as a solution and also give kudos.
Cheers
CheenuSing
Try this:
http://powerpivotfaq.com/Lists/TGPPF/DispForm.aspx?ID=125
Here is the longer version:
http://www.powerpivotblog.nl/using-time-intelligent-powerpivot-functions-with-fiscal-year/
This should solve your problem.
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
84 | |
69 | |
68 | |
39 | |
37 |