Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
How to calculate Sales done till Present date in Present month using DAX in Direct query.
Try
SalesToDate = CALCULATE(SUM(Sales[Amount]), DATESMTD('Calendar'[Date])).
If it works. Please give a Kudos