Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
82 | |
57 | |
41 | |
39 |