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,
how do i count rows whit date lass then today using direct query?
@CCAIXE,
You connect to your data source using "DirectQuery" mode, right? If so, create a measure in your table using the DAX below.
Measure = CALCULATE(COUNTROWS('TableName'),FILTER('TableName','TableName'[Date]<TODAY()))
Regards,