We are calculating the percentage of counts between two columns. When filtering the results, one of the categories gives a result of infinity while the rest give accurate results.
The infinity result is based on 1 / 7,900,000
while we get a coherent results for 2 / 7,900,000
Any assistance would be greatly appreciated.
Solved! Go to Solution.
How did you create the measure to calculate the percentage of counts between two columns? Please share more detail information for our analysis, such as sample data of this two columns, the measure, screenshots about the report, etc.
Thanks for coming back to me!
We are calculating the percentage of contacts against transactions. We have 115,180 contacts and 7,891,981 transactions.
So we count the items in the contact and transaction columns:
Count of Contacts = COUNT('MASTER MERGE'[CaseNumber])
Count of Transactions = COUNT(Transactions[RA_Number])
We then calculate the percentage:
% Contacts v Transactions = COUNT('MASTER MERGE'[CaseNumber])/COUNT(Transactions[RA_Number])
There are 67 case resolution types associated with each contact. When we add the case resolution type for the contacts in chart form, the model provides a percentage of contacts for that resolution type against the number of transactions. It works perfectly except for one of the case resolution types. It occurs only once in the contact data set and gives a result of infinity. What is really strange is that another resolution type occurs only twice, yet gives a correct result.
What do you mean about "outlier"? It seems that you create a drill down report. Would you please share detail steps and sample data for us to reproduce the issue, so that we can find where is the cause.
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.