cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DataGuy2016
Advocate II
Advocate II

Infinity result in Measure to Calculated column

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!

1 ACCEPTED SOLUTION
DataGuy2016
Advocate II
Advocate II

The Slicer pointed to a resolution category for which there was no corresponding transaction date.

 

This was a mapping problem.

View solution in original post

6 REPLIES 6
DataGuy2016
Advocate II
Advocate II

The Slicer pointed to a resolution category for which there was no corresponding transaction date.

 

This was a mapping problem.

v-qiuyu-msft
Community Support
Community Support

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

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

With outlier (infinity result)With outlier (infinity result)Excluding Outlier (works perfectly)Excluding Outlier (works perfectly)

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

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

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!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors