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 guys,
Have encountered some issue to identify if a date is within the MTD range:
the max date is 30-Sep-2022, but 1-Jul-2022 still identified as MTD true, which part is wrong in my formular?
thanks all
Solved! Go to Solution.
try to change the code of currentWorday as this
CurrentWorkday=CALCULATE(MAX('sales'[Posting Date]),'sales'[CY rev]<>0,REMOVEFILTERS())
try to change the code of currentWorday as this
CurrentWorkday=CALCULATE(MAX('sales'[Posting Date]),'sales'[CY rev]<>0,REMOVEFILTERS())
Thanks Daniel! works perfectly! 😉