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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |