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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.