Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Somehow when I'm clicking on bars it messes up my % calculation. Do I need to alter the calcuation?
Here is what I've done:
Created custom column to determine if a claim is electronic or paper using
Claim Type =if[#" Process ERA"] = "No" and [#" Process Paper"] = "No" and [#" Payer Name"]<>"PATPAY" then "Paper" else "Electronic"
I then created a measure to determine what % of claims are electronic
Solved! Go to Solution.
[Total Claims] = SUM ( 'Table'[ Claim Count] )
[% Electronic] =
var __electronicClaims =
CALCULATE (
[Total Claims],
KEEPFILTERS(
'Table'[Claim Type] = "Electronic"
)
)
var __totalClaims = [Total Claims]
return
DIVIDE(
__electronicClaims,
__totalClaims
)
Please learn about how filters interact with each other when you use them in CALCULATE.
Best
D
[Total Claims] = SUM ( 'Table'[ Claim Count] )
[% Electronic] =
var __electronicClaims =
CALCULATE (
[Total Claims],
KEEPFILTERS(
'Table'[Claim Type] = "Electronic"
)
)
var __totalClaims = [Total Claims]
return
DIVIDE(
__electronicClaims,
__totalClaims
)
Please learn about how filters interact with each other when you use them in CALCULATE.
Best
D
Since the counts are off after slicing it shows that it's not the calculation. Can't be the calculated column. Best to slice to a small selection and try to understand why these rows remain after slicing.
Proud to be a Super User!
Awesome Keyboard Shortcusts in Power BI, thumbs up if you like the article
My Community Blog Articles (check them out!)
My Blog - Power M code to automatically detect column types -
How to create test data using DAX!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 10 |