Avatar of k_rasuri
k_rasuri

asked on 

AggregateFunction in SSAS is not working good for me

I have a field on which im using SUM aggregate function in my SSAS project. data in that field is never negative. but when i roll up i get negative values. when i drill down data looks accurate. any idea what is happening. here is the metadata
        <Measure dwd:design-time-name="5efdf859-7977-4f21-83ef-3b37f2067b9f">
          <ID>Delta Msec</ID>
          <Name>PLT1-ApP</Name>
          <Source dwd:design-time-name="f6b3921a-402f-4950-aa93-a8a264709a78">
            <DataType>Integer</DataType>
            <Source xsi:type="ColumnBinding" dwd:design-time-name="9acf4d7c-8e77-4a1a-ba84-eb5931af9725">
              <TableID>dbo_Data</TableID>
              <ColumnID>delta_msec</ColumnID>
            </Source>
          </Source>
          <FormatString>Standard</FormatString>
        </Measure>

strange thing here is when i set aggregate function to null. i get
<AggregateFunction>None</AggregateFunction> in the metadata.
but when i change it to sum i dont see <AggregateFunction>Sum</AggregateFunction>

Am i doing anything working. why am i getting negative values in SUM
Microsoft SQL ServerSSAS

Avatar of undefined
Last Comment
k_rasuri
ASKER CERTIFIED SOLUTION
Avatar of k_rasuri
k_rasuri

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft SQL Server
Microsoft SQL Server

Microsoft SQL Server is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.SQL Server is available in multiple versions, typically identified by release year, and versions are subdivided into editions to distinguish between product functionality. Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning.

171K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo