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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Our sales team have lots of sales plans. To identify open plans I created a measure to evalute for a null or future end date.
I then want to list out each sales team member and a count of their open plans.
However, when I add the measure to the table visual a "count" is not an option.
Where have I gone wrong and how can I produce a count?
Measure:
Sales Person | Plan ID | Plan End Date |
Jane | 1 | |
Jane | 2 | 5/1/2024 |
Bob | 3 |
Sales Person |
Jane |
Bob |
Solved! Go to Solution.
Hi, @geoffgarcia
You can try the following methods.
Open Assignment = Var date1=SELECTEDVALUE('Plan Table'[Plan End Date])
Return
If(ISBLANK(date1) || date1>TODAY(), 1,0)
Count person Measure =
Var _table=SUMMARIZE('Plan Table',[Sales Person],[Plan ID],"M",[Open Assignment])
Return
COUNTX(_table,[M])
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @geoffgarcia
You can try the following methods.
Open Assignment = Var date1=SELECTEDVALUE('Plan Table'[Plan End Date])
Return
If(ISBLANK(date1) || date1>TODAY(), 1,0)
Count person Measure =
Var _table=SUMMARIZE('Plan Table',[Sales Person],[Plan ID],"M",[Open Assignment])
Return
COUNTX(_table,[M])
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
However, when I add the measure to the table visual a "count" is not an option.
You cannot measure a measure. Instead, create a new measure that incorporates the entire business logic including the counting part.
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 |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |