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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Assigning Names to time periods

Hi,

I am new and working the last 2 weeks on a projekt with Power BI.

I have different data from a system of a university. Is it possible to assign pre defined time periods (e.g. 1.10.2021 to 31.03.2021) a special name (WS20/21). I want to check this for the last six periods.

So each one of the different persiods is to be checked in the CREATE column and the NAME is to be inserted accordingly.

 

I need this to show the data for each semester of the university how specific activities developed.

 

Has someone an idea?

Cheers

1 ACCEPTED SOLUTION

@Anonymous  Ok, easy. You can't write first a string like the period name, and as if false a decimal numer. Try with "0", instead of 0. 

 

B.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

tacktick_0-1642690797799.png

Thank you, on the first view, this might solve the problem, but I have the problem to get the different formates together.

If I use der notation with dots, it doesn't work, with DATE the following problem comes up. 😞 mabe yyou have also a solution for this?

@Anonymous  Check the column DATE type, it must be in Data Type: Date. Click on the column and then in the section Column Tools of the menù. The formula should then be correct.

 

B.

Anonymous
Not applicable

tacktick_0-1642693017244.png

I made a new column and the type is DATE. Now the next error message came up.

@Anonymous  Ok, easy. You can't write first a string like the period name, and as if false a decimal numer. Try with "0", instead of 0. 

 

B.

BeaBF
Super User
Super User

Hi @Anonymous !

You can create a new column with some if conditions, like:

= IF ([date] >=   1.10.2021 && [date] <= 31.03.2021, "WS20/21", IF ([date] >= tot && [date]<= tot, "NAME_PERIOD", IF(.....)))

 

If this is not what you were looking for, I ask you to put some data and the result you expect, so as to better understand.

 

B.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.