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

How to reduce my table report require 5 expression to 1 expression ?

Hi All

I have a P&L Table , which can display correct figure i want. but if i need to display last 5 month data , i need 5 expression . May i know how to make it only using 1 expression ? and i just need to add YearMonth at Diamension ?

In my next posting i will enclosed my QV Doc.

Paul

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi Paul,

I guess you're looking for this:

money(

sum({$<           year=,          month=,           MonthSeqNum = {"$(= '>=' & only(MonthSeqNum-4) & '<=' & only(MonthSeqNum))"} >}  Amount/$(ColumnDim98)/1000)

, $(vMoneyFormatK_GL))

View solution in original post

5 Replies
paulyeo11
Master
Master
Author

Enclosed my QV Doc

Anonymous
Not applicable

Hi Paul,

I guess you're looking for this:

money(

sum({$<           year=,          month=,           MonthSeqNum = {"$(= '>=' & only(MonthSeqNum-4) & '<=' & only(MonthSeqNum))"} >}  Amount/$(ColumnDim98)/1000)

, $(vMoneyFormatK_GL))

paulyeo11
Master
Master
Author

Hi Michael

Thank you very much. it work !

Paul

paulyeo11
Master
Master
Author

Hi Michael 

May I ask . I notice that last week you reply post . And you send me file attachments.  The file name are all number. 

May I know the meaning of number ? As it is not date. Also not the track number....

Sent from Samsung Mobile

Anonymous
Not applicable

Paul, it's the ID number of the discussion, I take it from URL.