Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

non changing dimension

Hi all,

Is it possible to make a dimension not changing at all for any filters?

For example I have the following straight table

MonthQnumsSales
JanQ1234100
FebQ2434100
MarQ234200
AprQ5456500
MayQ565300

For this table if for particular selection we have data for only Mar and Apr

So the table will reduce in size showing only Mar and Apr like this

MonthQnumsSales
MarQ234200
AprQ5456

500

But i want in this manner

MonthQnumsSales
Jan00
Feb00
MarQ234200
AprQ5456500
May00

Keeping the month dimension to be constant not changing.

Is it possible?

Any help would be appreciated

Thanks,

Anupama Jagan

32 Replies
Anonymous
Not applicable
Author

I have now attached a sample data. It has year,month,revenue and client fields. so if we select any clicnet the month has to show always till current month.

the dimension and the expressions used in the application is given above.

Thanks,

Anupama Jagan

MK_QSL
MVP
MVP

Something like this..

vinieme12
Champion III
Champion III

use the below

CYTD:

if(Month <= Month(today()), rangesum(above(total sum({1<Year = {$(=Max(Year))}, Met = {"Approved"}>}Revenue), 0, RowNo(TOTAL))))
PYTD
if(Month <= Month(today()), rangesum(above(total sum({1<Year = {$(=Max(Year)-1)}, Met = {"Approved"}>}Revenue), 0, RowNo(TOTAL))))
Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable
Author

Hi Manish,

I find all the previous year revenue to be zero. May I know what have you done in this?

Thanks,

Anupama Jagan

Anonymous
Not applicable
Author

Hi Vineeth

But the values will not change for any filters right?

Thanks,

Anupama Jagan

tyagishaila
Specialist
Specialist

For Month Dimension

Check Show All Values

Anonymous
Not applicable
Author

Hi Shaila,

For me that option isn't enabled at all..is it becauseI have used a calculated dimension?

tyagishaila
Specialist
Specialist

what output you required?

Anonymous
Not applicable
Author

Hi Shaila,

These are my Dimensions and Expressions:

Month

if(Month <= Month(today()),Month)

Expressions are :

CYTD:

if(Month <= Month(today()), rangesum(above(total sum({Year = {$(=Max(Year))}, Met = {"Approved"}>}Revenue), 0, RowNo(TOTAL))))
PYTD
if(Month <= Month(today()), rangesum(above(total sum({Year = {$(=Max(Year)-1)}, Met = {"Approved"}>}Revenue), 0, RowNo(TOTAL))))
So as per my calculated dimesion the straight table will display only till current month ..So Jan- May will be displayed.
But for few selections there might be entry for few months. For example for a particular selection feb month values might not be there. So in the table we will have Jan,Mar,Apr and May be displayed.
But I want Feb to be displayed as well. Kindly let me know if stil requirement is unclear
Any help would be appreciated
vinieme12
Champion III
Champion III

have you tried yet? please try and let us know

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.