Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

SSRS Report

$
0
0

Hi,

I am creating a report and this maybe a simple question to answer.

I have a column name "Amount" which picks the first value of the Item ID.

I want to add the sum of the Amount of the displayed first value.

The report is Query based.

Actual table:

Item IdAmount
ABC78.00
DEF98.00
TOTAL1136.00

Total: 1136.00 is taking the sum of all the values of the ItemID: ABC: total amount: 345.00 and ItemId: DEF: total amount: 791.00 (345.00+791.00=1136.00)

Whereas I want:

ItemIdAmount
ABC78.00
DEF98.00
TOTAL176.00

For Amount, the expression is "=First(Fields!Amount.Value)

For Total, I am using the expression as "=Sum(Fields!Amount.Value)

And it grouped by : ItemID


Viewing all articles
Browse latest Browse all 175888

Trending Articles