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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi all!
I’m calculating a percentage of total issues and the following DAX expressions give the intended result.
TotalIssues = CALCULATE(DISTINCTCOUNT('Data'[IssueID]), ALLSELECTED())
PercentOfTotal = DIVIDE( ‘Data’[IssuesPerType], ‘Data’[TotalIssues], 0 )
I'm also trying to filter out issues with PercentOfTotal < 1%, but when I applied PercentOfTotal as a filter the PercentOfTotal results also changed.
Is it possible to filter out issues with PercentOfTotal < 1% without impacting the original results?
Thank you!
Solved! Go to Solution.
Hi @breezym5
You measure is affected by the filter, so you need to change the allselected() to all()
You need to change your TotalIssues measure to the following.
TotalIssues =
CALCULATE ( DISTINCTCOUNT ( 'Data'[IssueID] ), ALL ( 'Data' ) )
Then it can work.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @breezym5
You measure is affected by the filter, so you need to change the allselected() to all()
You need to change your TotalIssues measure to the following.
TotalIssues =
CALCULATE ( DISTINCTCOUNT ( 'Data'[IssueID] ), ALL ( 'Data' ) )
Then it can work.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.