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
eric_b
New Member

How to subtract two evaluations?

Hello, All.


I have two evaluations that produce a result.  The first result is the number of submitted requests.  The second result is the number of closed requests.  What I would like to do is subtract the closed requests from the submitted requests so I can add that result to a line chart.  I have tried a couple of different ways, but without much luck.  Here are the two evaluations:

 

This calculates number of submitted requests

/* START QUERY BUILDER */
EVALUATE
CALCULATETABLE(

ROW(

"CR Count (Status Detail)", [CR Count (Status Detail)]

),

KEEPFILTERS(FILTER(ALL('Workflow Status'[Status]), SEARCH("submitted", 'Workflow Status'[Status], 1, 0) >= 1))
)
/* END QUERY BUILDER */

The below formula calculates number of closed requests -
/* START QUERY BUILDER */
EVALUATE
CALCULATETABLE(

ROW(

"CR Count (Status Detail)", [CR Count (Status Detail)]

),

KEEPFILTERS(FILTER(ALL('Workflow Status'[Status]), SEARCH("closed", 'Workflow Status'[Status], 1, 0) >= 1))
)
/* END QUERY BUILDER */

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @eric_b ,

 

Sorry for that the information you have provided is not making the problem clear to me. Can you please share more details to help us clarify your scenario?

Please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Refer to:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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