Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Get Percentage of data if dates match

Hi All,
I would to created a visual which gives the percentage of tickets closed at first reply.  
The open and closed data is required to be the same as each other to be considered as closed at first reply. 

Example of data is below:
Name       Opened        Closed
James       18/12/19      18/12/19
Lisa           15/12/19      18/12/19
Dave         12/12/19      12/12/19
Joe            06/12/19      12/12/19


1 ACCEPTED SOLUTION
rajulshah
Resident Rockstar
Resident Rockstar

Hello @Anonymous,

You can create a calculated column as below:

Closed at first reply = IF(Table[Opened]=Table[Closed],1,0)
% Closed at first reply =
VAR ClosedFirstReply = CALCULATE(COUNTROWS(Table),Table[Closed at first reply]=1)
VAR Total = COUNTROWS(ALL(Table))
RETURN DIVIDE(ClosedFirstReply,Total)


Hope this helps.

View solution in original post

2 REPLIES 2
rajulshah
Resident Rockstar
Resident Rockstar

Hello @Anonymous,

You can create a calculated column as below:

Closed at first reply = IF(Table[Opened]=Table[Closed],1,0)
% Closed at first reply =
VAR ClosedFirstReply = CALCULATE(COUNTROWS(Table),Table[Closed at first reply]=1)
VAR Total = COUNTROWS(ALL(Table))
RETURN DIVIDE(ClosedFirstReply,Total)


Hope this helps.

Anonymous
Not applicable

@Anonymous please try below measure

Measure = 
VAR _total = CALCULATE(COUNT('Table'[Name]),ALL('Table'))
VAR _same = CALCULATE(COUNT('Table'[Name]),FILTER('Table','Table'[opened]='Table'[closed]))
RETURN DIVIDE(_same,_total,0)

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors