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 Everyone - I was just wondering if it possible to create a custom Federal Fiscal Year (Years and Months). My FFY2018 start from 10/1/2017 and finish 9/30/2018. So I was wondering if I can create column with Year-Month format. Thank you in advance.
Solved! Go to Solution.
hi, @Anonymous
You could use CALENDAR Function to create a custom date table.
and for Year-Month format, you could try this formula
Year Month Number = YEAR ( 'Date'[Date] ) * 100 + MONTH ( 'Date'[Date] )
or
Year Month = FORMAT ( 'Date'[Date], "mmmm" ) & " " & YEAR ( 'Date'[Date] )
This document is for your reference
https://docs.microsoft.com/en-us/dax/custom-date-and-time-formats-for-the-format-function
Best Regards,
Lin
hi, @Anonymous
You could use CALENDAR Function to create a custom date table.
and for Year-Month format, you could try this formula
Year Month Number = YEAR ( 'Date'[Date] ) * 100 + MONTH ( 'Date'[Date] )
or
Year Month = FORMAT ( 'Date'[Date], "mmmm" ) & " " & YEAR ( 'Date'[Date] )
This document is for your reference
https://docs.microsoft.com/en-us/dax/custom-date-and-time-formats-for-the-format-function
Best Regards,
Lin
Thank you
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 |