Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Desighn issue

Hi,

requirement is like want to show today sales by default  and client want to show historical data if he clicks only then  on particular product.

by default it may be pivot table showing today sales.Any body have better suggestion.

regards

Mahesh T

1 Solution

Accepted Solutions
aveeeeeee7en
Specialist III
Specialist III

8 Replies
aveeeeeee7en
Specialist III
Specialist III

Hi Mahesh

Please see the Attached Qvw.

Hope the Solution works for you.

Regards

Aviral Nag

Not applicable
Author

i am unable to view QVW.Can you please post the screen shot.

regards

Mahesh T

aveeeeeee7en
Specialist III
Specialist III

PFA.

Not applicable
Author

Share screen shots not QVWfiles.

regards

Mahesh

aveeeeeee7en
Specialist III
Specialist III

Check this out.

Not applicable
Author

Thank very much for spending time for me.

regards

Mahesh T

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

You could use a conditional show based on the number of possible values.

Firstly you would have a table, or pivot, with Product in the dimension list and an expression like this:

=sum({<Date={'$(=today())'}>}Sales)

And on this chart you would have a Show Condition and Calculation Condition of:

=GetPossibleCount(Sales) > 1

You can then make a copy of this chart (so it is exactly the same size and position as the first chart) and make the following changes.

On the dimensions remove Product and add Date as a dimension.

Change the expression to read:


=sum(Sales).

Change the Show Condition and Calculation Condition to be:

=GetPossibleCount(Sales) = 1

That should give you what you are after.  From a UI perspective the images uploaded by Nag Aviral are fine.

I often swap from a table view listing many items (such as products) to a number of objects showing details for many products when there is only one product available.  Almost the opposite of what you are asking to do here.

Hope that helps.

Steve

Not applicable
Author

put Condition like this For Expression like


in Condtional expression u will get your results

GetselectedCount(Product)> 0