Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
I have a dim_date table and I'd like to be able to flag every second Wednesday beginning at a specific date.
Is this possible with DAX? I found a few examples flagging all the dates within a period but I only really need the specific day.
Thanks
Solved! Go to Solution.
@Rewind , First find the first Wednesday or choose a hard coded date
Try like
a new column =
var _first = minx(filter(Date, weekday([Date],2)=3) , [Date])
var _diff = Mod(Quotient(datediff(_first , [Date], day),7),2)
return
if(_diff =0, true(), false())
@Rewind , First find the first Wednesday or choose a hard coded date
Try like
a new column =
var _first = minx(filter(Date, weekday([Date],2)=3) , [Date])
var _diff = Mod(Quotient(datediff(_first , [Date], day),7),2)
return
if(_diff =0, true(), false())
Thank you - works perfectly.