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
erhang
Helper II
Helper II

Dax Formula Help

Hi there ;

 

İ just want to create a new formula but i can nat create because i am very new at DAX .

 

Coluld you pls help me about below issue , thanks for your supports.

 

Issue : 

 

I have one column with dates as below.İ want to see that , if the date column's date is after this month ( the month that we are in)  , it will write to  near cell "true" in number column.İf not  the cell will be empty in new column.

 

İ want like that : 

Capture.JPG

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
Drors
Resolver III
Resolver III

Hi,

Just add a calculated column and use that DAX formula : 

Number =
IF(AND(MONTH(Table1[Date])>MONTH(NOW()),YEAR(Table1[Date])>=YEAR(NOW())),"TRUE",BLANK())

 

1.PNG

View solution in original post

2 REPLIES 2
Drors
Resolver III
Resolver III

Hi,

Just add a calculated column and use that DAX formula : 

Number =
IF(AND(MONTH(Table1[Date])>MONTH(NOW()),YEAR(Table1[Date])>=YEAR(NOW())),"TRUE",BLANK())

 

1.PNG

Hi drors ; 

 

I am very glad to see your reply , and it is working .

 

Thank you very much for support.

 

 

Helpful resources

Announcements
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.