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

Dimension value to match with other table Dimension

Hi All,

I have a straight table in which i need to use two dimension values.

For example:

CountryYearno of Customersno of sales PersonsTOTAL no of sales persons
Australia201010005060
America2010150065125
Australia201160
America20111600125125

First three columns are coming from one table

Calendar:

Load Year, Month From Calendar;

LEFT KEEP (Calendar)

Load SalesCountry, CustomerID, SalesPersonID, SalesYear as Year from Sales;

LEFT KEEP (Calendar)

Load Country, Year, salesPersons, Name From SalesPersons;

I cant join these two table as i might miss specific year, instead i need to use them separately and have Country match and year match

My current expression is like : count({<SalesCountry = $:: Country>}SalesPersons), but this is give me only when i select a specific country. I need to this work even though if there is no country selected.

Thanks

Regards

karthik

1 Reply
Anil_Babu_Samineni

May be this?

count({<Country = $:: Country>}SalesPersons)


Here, $:: is to use the selection in the default Country filters.instead of $ you can specify the group name to synchronize with it

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