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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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