Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
aishaakhter18
Helper I
Helper I

Wrong Percentage calculation

When I am using the two DAX below and putting it in pie chart to get the percentage,  what its doing its counting the total response of RA and then taking % out of it 

Total RA response = 61 , if yes are 38 , its giving me 62% approx while it should do 

Total # of prog = 45 and its should divide 38/45 and take the %  should be 84% approx

how to fix this 


 

No1 

RA Insigts Yes Count = COUNTROWS(

    SUMMARIZE(

        FILTER('my tabel', 'my table[Insights for RA] = "Yes"),

        'my tabler'[PROGRAM]

 

    )

)

 

And 

 

RA Insight NoPlannedUA_CountExcludeYes = COUNTROWS(

    SUMMARIZE(

        EXCEPT(

            FILTER(

                'my table',

                'my table'[Insights for RA] IN {"No", "Planned", "Under Assessment", " "}

            ),

            FILTER(

                'my table',

                'my table'[Insights for RA] = "Yes"

 

            )

        ),

        'my table'[PROGRAM]

 

    )

)

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.