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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
nuhasan
Helper IV
Helper IV

How to name a term for every 6 month

Hi all,

 

Do you have any idea or formulation how to set a term name for every 6 month. Please refer below as example.

The term name keep going every 6 month.

 

nuhasan_0-1678321687089.png

 

Regards,

Nuha

3 REPLIES 3
olgad
Super User
Super User

Please adjust this part: instead of && it has to be ||. have tested and it works.

if(SAP_SDT_LV_ISEG_EN[Month Only]>="10" || SAP_SDT_LV_ISEG_EN[Month Only]<="03","SHIMO" & Right(SAP_SDT_LV_ISEG_EN[Year Only],2)))

Please kudo the solution and kindly accept it as resolved. Thank you!


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime
olgad
Super User
Super User

Hi, create a column
Term= If(Month('Calendar'[Date])>=4 && Month('Calendar'[Date])<=9, "KAMI" & Right(Year('Calendar'[Date]),2),
If( Month('Calendar'[Date])>=10 || Month('Calendar'[Date])<=3 "SHIM"& Right(Year('Calendar'[Date]),2)))

Appreciate your kudo and accepted solution!


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Hi @olgad ,

 

Already try your method but its only show KAMI term only. Do you know why?

 

if(SAP_SDT_LV_ISEG_EN[Month Only]>="04" && SAP_SDT_LV_ISEG_EN[Month Only]<="09", "KAMI" & Right(SAP_SDT_LV_ISEG_EN[Year Only],2) ,
if(SAP_SDT_LV_ISEG_EN[Month Only]>="10" && SAP_SDT_LV_ISEG_EN[Month Only]<="03","SHIMO" & Right(SAP_SDT_LV_ISEG_EN[Year Only],2)))
 
nuhasan_0-1678415192269.png

 

 
Regards,
Nuha

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors