Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi
Suppose i have one table with date key and week start date and week end date and fiscal week number columns .How do i get the fiscal week number for today ?
Can someone help me with the dax please
Solved! Go to Solution.
Hi @Anonymous
If your table has all dates with our any missed date, try this:
Measure =
Var _D = Today ()
return
calculate(max(table[fiscal week number]),filter(all(table),table[date]=_D))
Otherwise, use this:
Measure =
Var _D = Today ()
return
calculate(max(table[fiscal week number]),filter(all(table),table[week start date] <=_D&&table[week end date] >=_D))
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi @Anonymous
If your table has all dates with our any missed date, try this:
Measure =
Var _D = Today ()
return
calculate(max(table[fiscal week number]),filter(all(table),table[date]=_D))
Otherwise, use this:
Measure =
Var _D = Today ()
return
calculate(max(table[fiscal week number]),filter(all(table),table[week start date] <=_D&&table[week end date] >=_D))
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Thank you for your help