Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Flavio2021
Frequent Visitor

Add labels to range of dates

Hi  I am new in this world and are already several days that I don't found a solution to my problem that is

I have a column of date from Nov2018 today and what I would like to reach as result is that in a range of date, like 1Nov2018 to 31Oct19 I have a label like FY19 and so on for the other FY years  Found complex solutions,  but I need a very simple formula

Have you some suggestionimage.png

 

?  

3 ACCEPTED SOLUTIONS
bicoffee
Helper I
Helper I

Hi,

 

you can use group option where you can create groups based on the range.

 

bicoffee_0-1624888187336.png

 

View solution in original post

ryan_mayu
Super User
Super User

@Flavio2021 

you can create a new column

Fiscalyear = if(month('Table'[Date])>10,year('Table'[Date])+1,year('Table'[Date]))

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Hi Great Job !  Replicated and it done what I need    

 

Thank !

View solution in original post

4 REPLIES 4
ryan_mayu
Super User
Super User

@Flavio2021 

you can create a new column

Fiscalyear = if(month('Table'[Date])>10,year('Table'[Date])+1,year('Table'[Date]))

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi Great Job !  Replicated and it done what I need    

 

Thank !

bicoffee
Helper I
Helper I

Hi,

 

you can use group option where you can create groups based on the range.

 

bicoffee_0-1624888187336.png

 

Need to test and mainly learn how to use but has sense. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.