The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
@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())
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |