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! It's time to submit your entry. Live now!
Hi ,
I am trying to filter submissions count by a range of dates enterd in slicer (between)
For example if a user enter a range of date the table should show the count of submissions for that range of dates.
I created this formula, it works when I choose one date but not a range, any help
Current_Submission =
var startdate= max(DimDate[Date])
var enddate = min(DimDate[Date]) Return
calculate(DISTINCTCOUNT(
Submisions[Submission Number]),
Filter (Submisions, Submisions[Submission Date]>= startdate && Submisions[Submission Date] <= enddate ) )
Solved! Go to Solution.
Hi @Manar,
Based on my test, you could refer to below steps:
Sample data:
Create a measure:
Current_Submission =
var startdate= max(DimDate[Date])
var enddate = min(DimDate[Date]) Return
calculate(DISTINCTCOUNT(Submission[Number]),
Filter (ALL(Submission), Submission[Date]<= startdate&&Submission[Date]>= enddate))
Now you could see the result:
You can also download the PBIX file to have a view.
Regards,
Daniel He
Hi @Manar,
Based on my test, you could refer to below steps:
Sample data:
Create a measure:
Current_Submission =
var startdate= max(DimDate[Date])
var enddate = min(DimDate[Date]) Return
calculate(DISTINCTCOUNT(Submission[Number]),
Filter (ALL(Submission), Submission[Date]<= startdate&&Submission[Date]>= enddate))
Now you could see the result:
You can also download the PBIX file to have a view.
Regards,
Daniel He
Current_Submission = VAR startdate= MIN(DimDate[Date]) VAR enddate = MAX(DimDate[Date]) Return calculate(DISTINCTCOUNT(Submisions[Submission Number]), Filter (Submisions,Submisions[Submission Date]>= startdate &&
Submisions[Submission Date]<= enddate )
)
Try this.
Thanks
Raj
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 105 | |
| 63 | |
| 36 | |
| 35 |