Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6976551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:30:42+00:00 2026-05-27T17:30:42+00:00

If got a dataset returned from SSAS where some records may be infinity or

  • 0

If got a dataset returned from SSAS where some records may be infinity or -infinity (calculated in SSAS not in the report).

I want to calculate the average of this column but ignore those records that are positive or negative infinity.

My thought is to create a calculated field that would logically do this:

= IIF(IsInfinity(Fields!ASP.Value) or IsNegativeInfinity(Fields!ASP.Value), 0 Fields!ASP.Value)

What I can’t figure out is how to do the IsInfinity or IsNegativeInfinity.

Or conversely is there a way to calculate Average for a column ignoring those records?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:30:42+00:00Added an answer on May 27, 2026 at 5:30 pm

    Just stumbled across this problem and found a simple solution for determining whether a numeric field is infinity.

    =iif((Fields!Amount.Value+1).Equals(Fields!Amount.Value), false,true)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The dataset have tables and columns details got from the XML file.I want to
I've got a large dataset, some of which is is duplicate records, which are
I've got a report being built from a dataset. The dataset uses the Sort
I've got a json encoded dataset that I retrieve via ajax. Some of the
I've got several hundred warnings due to missing xml comments from a single DataSet
I've got a relatively small (<100K) numerical CSV dataset that I want to process
I've got an unfiltered dataset to deal with so as to generate a report
I´ve got a Sql-Express database where my C#-application has it´s data from. One dataset
I've got a largish dataset of German text which was generated with some encoding
I've got a dataset with over 100k rows, so it's not tiny, but not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.