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! Learn more

Reply
Sam-L
Frequent Visitor

Percentage between two cards showing different filtered values

Hello,

I'm looking to create a card that holds a percentage calculation of two cards.

However, the two cards that I'm wanting to work out the value between are using the same field but have had their filtering interactions edited depending on what slicers are being used.

SamL_0-1629467353089.png

This is the calculation that I'm using:

SamL_1-1629467375991.png

 

SamL_2-1629467587537.png

The filters circled in yellow filter the bottom card and those circled in orange filter top and bottom cards.

My data source is SQL and I'm using direct query.

Open to suggestions and thank you in advance.

Sam

1 ACCEPTED SOLUTION
richbenmintz
Resident Rockstar
Resident Rockstar

Hi @Sam-L ,

 

What you should likely to do is create 2 measures or variables in your % of total Measure that act numerator and denomintor. You would create then to ensure that the filter context you want for the num and denom are explicitly defined. You can also then remove the filtering requirement from the cards and use the num and denom as their values.

 

hope this makes sense.

 

 



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


View solution in original post

3 REPLIES 3
richbenmintz
Resident Rockstar
Resident Rockstar

Hi @Sam-L ,

 

What you should likely to do is create 2 measures or variables in your % of total Measure that act numerator and denomintor. You would create then to ensure that the filter context you want for the num and denom are explicitly defined. You can also then remove the filtering requirement from the cards and use the num and denom as their values.

 

hope this makes sense.

 

 



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


Hi @richbenmintz, yeah that makes sense, thank you. I'm trying to create a calculation for the top card that shows all deployments and disregards any intervention filters (those that are circled in yellow in original post). I'm trying an ALLEXCEPT, but it's still managing to filter the card. Do you have any pointers, or is it the way the data is structured?

SamL_0-1629474336868.png

 

Thank you,

Sam

Hi @Sam-L 

 

Any chance you could share a sample PBIX, would be much easier to get the correct syntax if I can see the actual data structure and report layout



I hope this helps,
Richard

Did I answer your question? Mark my post as a solution! Kudos Appreciated!

Proud to be a Super User!


Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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