Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi there,
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.
For example:
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.
Thanks!
Solved! Go to Solution.
The Slicer pointed to a resolution category for which there was no corresponding transaction date.
This was a mapping problem.
The Slicer pointed to a resolution category for which there was no corresponding transaction date.
This was a mapping problem.
Hi @DataGuy2016,
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.
Best Regards,
Qiuyun Yu
Hi @DataGuy2016
Would you please give us more information about the data model, measures and filter operations ?
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.
Hi @DataGuy2016,
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.
Best Regards,
Qiuyun Yu
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
94 | |
89 | |
32 | |
28 |