Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Problem with aggregation

$
0
0

Hi everybody,

    I am not able to get the required output of a measure.

I have the below fields in the fact table, I have a separate dimension for the parent material.

The SQL result if i query like this am getting the required ouput.

select Parent_Material_No,Systemization_Sales_Qty from FactCopa where Invoice_No='7100020708' group by Parent_Material_No , Systemization_Sales_Qty

Parent_Material_No        Systemization_Sales_Quantity

-------------------------------------------------------------------------

01325318S1                              2 

But when i built the CUBE am getting the following

The value of the parent material number is being aggregated and giving as 12, but i want to show it as 2.


Please suggest me with a solution. Urgent.

Thanks in advance.

Kranthi Kumar G.





Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>