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

Announcements
Week 2: Presenting "Automate Sucess" and "Integration for Innovation" - WATCH NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
prabhas277
Creator
Creator

expression for total selected values

Hi Experts,

Please find the below data ,

For this data i want the expression for it will tell how many Prdoucts have a value for this  selected period.

YearProductsales
2016a10
2016b-
2017a100
2016b
2015a110
2015b120
2015c-
2014c20
2014a-
3 Replies
Anil_Babu_Samineni

May be this?

Count({<sales -= {'-',''}>} sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
PrashantSangle

Hello,

Can you show your final required output screen.

count(<sales-={'-',''}>product)

or

count(if(not wildmatch(trim(sales),'-',''),product))


Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Anil_Babu_Samineni

Test done

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful