The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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]
)
)
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...