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

DAX calculation for actual %

Hi,

we are trying to create a calculation in Power BI for a fixed percentage of Nr. of records, which is not influenced by filtering.

We have several Service codes and respective % for every code. But when we choose only one code the % has changed to 100%. We need to see the actual % of specific service codes. (example: when filtering the first code to show 64.64%, not 100% as on the second image).

eveliva_0-1697530883053.png

eveliva_1-1697531132074.png

Could you please advise what DAX calculation we should use in this case to show the actual % even if we use filtering?

Thank you

 

2 REPLIES 2
Dangar332
Super User
Super User

hi, @eveliva 

 

use ALLSELECTED()  function in side of your measue number of requsts

Hi, thank you for your suggestion, but it is not working for me since i use filters for Market Area, and when i filter only 2 Market Areas the % is changed and shows the actual % against all numbers not only my 2 Market areas. 

Left viz I with working actual % but not correct share since the explained above. The right viz i with correct share but it is not working actual%.

eveliva_0-1697725749571.png

 

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.