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
Hi there!
I keep running my head against the wall with this one and would love any kind of help 😄
Goal:
A single measure I can put on a "Card" in Power BI that shows the total number of calls for all phone numbers that have called above 2 times.
Source = phone number
CallAnswered = 1's (if a number have called there is a new row inserted)
I've tried this:
Solved! Go to Solution.
I hadn't included a filter to check that CallAnswered is 1.
Total calls with more than 2 calls =
VAR SummaryTable =
ADDCOLUMNS (
VALUES ( 'CallEvents'[source] ),
"@num calls", CALCULATE ( COUNTROWS ( 'CallEvents' ), 'CallEvents'[Call Answered] = 1 )
)
VAR Result =
SUMX ( FILTER ( SummaryTable, [@num calls] >= 3 ), [@num calls] )
RETURN
Result
Hi @KAJAR
Please try
KJ - SUM kald source =
SUMX (
FILTER (
SUMMARIZE (
CallEvents,
CallEvents[source],
"Total Calls", SUM ( CallEvents[CallAnswered] )
),
[Total Calls] >= 3
),
CallEvents[CallAnswered]
)
Try
Total calls with more than 2 calls =
VAR SummaryTable =
ADDCOLUMNS (
VALUES ( 'CallEvents'[source] ),
"@num calls", CALCULATE ( COUNTROWS ( 'CallEvents' ) )
)
VAR Result =
SUMX ( FILTER ( SummaryTable, [@num calls] >= 3 ), [@num calls] )
RETURN
Result
Hi johnt75! Thanks for your reply.
It no longer includes below 2 calls, but now it has 400.000 more calls as total than it should. Did I do something wrong?
The two totals marked with yellow is the actual total (depending on if calculated over/under a cetain time limit)
I hadn't included a filter to check that CallAnswered is 1.
Total calls with more than 2 calls =
VAR SummaryTable =
ADDCOLUMNS (
VALUES ( 'CallEvents'[source] ),
"@num calls", CALCULATE ( COUNTROWS ( 'CallEvents' ), 'CallEvents'[Call Answered] = 1 )
)
VAR Result =
SUMX ( FILTER ( SummaryTable, [@num calls] >= 3 ), [@num calls] )
RETURN
Result
Thank you so much - It's working perfect!
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 |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |