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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hey guys,
i need to write a measure to
Calculate no of rows of a table after last refresh date(which is done), but on the same line i have a calender slicer, if user selects any date range, it should count rows from end date value.
Hi @Vamshi2020 ,
Or try this formula.
Total Booked =
var a= maxx( ALLSELECTED(Calender), Calender[Date)
var b=
CALCULATE(
COUNTROWS('Data_Arrivals with Case Priorit'),
FILTER(
'Data_Arrivals with Case Priorit',
'Data_Arrivals with Case Priorit'[Arrival Date]>= a
)
)
return
IF(
b=BLANK(),
0,b
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 93 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |