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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.