Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello Team,
Can you please help me in getting below counts. Data should change based on slicers(File Attached).
1. Open and closed count
2. Percentage ticket closed.
Regards,
Chandrashekar B
Solved! Go to Solution.
@Chandrashekar , Try following measures
Open count = countx(FILTER('Table', 'Table'[Status] ="Open"), [Ticket])
Closed count = countx(FILTER('Table', 'Table'[Status] ="Closed"), [Ticket])
Close % = divide([Closed count], COUNTX('Table', [Ticket]))
@Chandrashekar you need a schema like this
and three measures as follows
_Closed = CALCULATE(COUNT('Table'[Ticket]),FILTER(VALUES('Table'[Status]),'Table'[Status]="Closed"))
_Open = CALCULATE(COUNT('Table'[Ticket]),FILTER(VALUES('Table'[Status]),'Table'[Status]="Open"))
_closedPCT = DIVIDE([_Closed],COUNTROWS('Table'))
Hello,
Thanks it is working fine. May I know purpose of using underscore with variable.
Regards,
Chandrashekar B
@Chandrashekar , Try following measures
Open count = countx(FILTER('Table', 'Table'[Status] ="Open"), [Ticket])
Closed count = countx(FILTER('Table', 'Table'[Status] ="Closed"), [Ticket])
Close % = divide([Closed count], COUNTX('Table', [Ticket]))
Hello,
Thanks it is working fine.
Regards,
Chandrashekar B
Hello,
I saw your post but have different requirement where I do not have closed date field.
Regards,
Chandrashekar B
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |