Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi. Im trying to create a SUM measure
Calls Offered:=sum(CallsApplicationStats[CallsOffered])
now there is a [Time] field in CallsApplicationStats [cas]
and I wanrt to filter this measure where the [TIME] is greater than or equal to and less than
i have done this in SQL Server in a WHERE Clause
You have to have two tables that you'll use on slicers or on rows and columns of a matrix. One will store all the ApplicationTimeOpen's and the other one ApplicationTimeClose's. Let's call them AppTimeOpen (with Time column) and AppTimeClose (with Time column as well).
Once you have them, then you can create a measure:
# Calls Offered = var __timeOpen = SELECTEDVALUE( AppTimeOpen[Time] ) var __timeClose = SELECTEDVALUE( AppTimeClose[Time] ) var __callsOffered = CALCULATE( [Calls Offered], -- your measure CallsApplicationStats[TIME] >= __timeOpen, CallsApplicationStats[TIME] < __timeClose ) return __callsOffered
When you do this, please do not use the [TIME] column in your report. Hide the column.
Best
Darek
Missed update
ca.ApplicationTimeOpen & ca.ApplicationTimeClose are in another table.
I have created a calculated column in CallsApplicationStats to bring these both in if that helps 🙂
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |