Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Logic

Dear All,

I am facing an issue that I have to slow particular expression column for Month only not in the case of week.

I create an group for Month and week in a same field. but i want to right an expression to show Test plan for Month only .

Please find attachment for details..

8 Replies
agni_gold
Specialist III
Specialist III

Can you please explain , what exacltly do you want to say.

senpradip007
Specialist III
Specialist III

Can upload sample qvw?

Not applicable
Author

Hi,

can you send sample QVW file and data.

Anonymous
Not applicable
Author

Hi Rahul,

You can identify from you field only based on the length of the substring. when ever length of substring in you newly created field = monthvalue then show test plan.

Hope this helps

Not applicable
Author

Dear All,

I am facing an issue that I have to slow particular expression column for Month only not in the case of week.

I create an group for Month and week in a same field. but i want to right an expression to show Test plan for Month only

Please find attachment for details..


Present Case
GroupFeb2015030920150310
RegionStateSaleTest planSaleTest planSaleTest plan
EastAssam107941011011
EastAssam25920----
Required
GroupFeb2015030920150310
RegionStateSaleTest planSaleSale
EastAssam10794100
EastAssam25920--
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Create a calculated dimension with expression =ValueList('Sale', 'Test plan')

Merge the two expression into a single one, and enter this in the expression field:

= if (ValueList('Sum', 'Test plan') = 'Sales', sum(Sale), sum([Test plan])

What this does? Expressions in pivot tables cannot be suppressed for different dimension values, except if you turn the expressions into dimension values themselves, and change the expression results into 0 or NULL values for a particular case.

So what you'll need to do as a final step is to set Sales to 0 in the CONCATENATE LOAD for month-based entries.

The result:

SuppressPivotExpressionColumn thread155939.jpg

YMMV: there are different ways to do this, but the calculated dimension will stay.

Best,

Peter

Not applicable
Author

Hi rahulyadav

Can You Upload You Qvw file for clear understand of the expression

Peter_Cammaert
Partner - Champion III
Partner - Champion III

How did it work out?