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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors