The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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,