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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
erhan_79
Post Prodigy
Post Prodigy

Formula Help

Hi there ;

 

i need your support about creating below formula , let me explain ps what i need ;

 

i have table as below and i have "creation date"  column , i would like to create a new column which one 's name is " Month Data" , i want that the new column will work like that ;

 

Scenario : 

TODAY = 17.06.2020 and   Month is June 

 

Rules : 

 

if the "creation date"   includes before dates than today  ; " Month Data "  will seem   " Actual Month".

 

İf the "creation date"  is  equal to today  ;  " Month Data "  will seem   " Actual Month".

 

İf the "creation date " is after than today but includes June days ;   " Month Data "  will seem   " Actual Month".

 

İf "creation date"  is after than today but  not includes  June days    ; " Month Data "  will seem   " Next  Month".

 

Capture-2.JPG

 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@erhan_79 , a new column like

if([creation date] <eomonth(today(),0),"Actual Month","Next Month")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Make < as <=

[created date] <= eomonth(today(),0)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@erhan_79 , a new column like

if([creation date] <eomonth(today(),0),"Actual Month","Next Month")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

dear @amitchandak  ;

 

now i noticed something when the creation date is last day of the month , on new column it writes "next month " too , but infact it must write " actual month " for 30.06.2020 too.Could you pls check it too 

 

Capture-4.JPG

 

Make < as <=

[created date] <= eomonth(today(),0)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

thanks @amitchandak 

 

now everything is ok 



dear @amitchandak  ;

 

thank you very much , it is working very well , you always help us thanks for your kind supports 

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.