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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Jessica_Ballard
Frequent Visitor

True False filter expression with a date column

Hello,

 

I have two columns one is a Total Column and One is a date column. I want to create a column that will show True when the total is greater than 0 and the date is during the current quarter. I'm relatively new to DAX so forgive me if this is super simple but I am having a hard time getting it to work.

1 REPLY 1
amitchandak
Super User
Super User

@Jessica_Ballard , A new column like

 

new column =var _month = mode(month(today()),3)
var _end= eomonth(today(), if(_month=0, 0, 3-_month))
Var _st = eomonth(_end,-3)+1
return
if([Date] >=_st && [date] <=_end && [total] >0,true(),false())

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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