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 August 31st. Request your voucher.
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! 😉