Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi - I have the associated data set and need to count the sum of 'Sales' for 'Country' where 'Country1' is null indicated with '-' . So the total amount should be 28000.
Also ( or as part of this even ) is there is a way to simply exclude all non NULL values for Country1 so effectively you'd be left with 3 rows of data ie for SPAIN, SCOTLAND AND IRELAND.
Many thanks in advance
Try:
Sum({1-$<Country={'*'}>} Sales)
Marc.
please refer the attachment for the solution
Thanks Avinash but I think you may have understood. It should only return rows where country = '-'. So only 3 rows of data should be displayed ie IRELAND SPAIN and SCOTLAND.
Thanks
check this solution .
NOTE: In the dimension check suppress null
This works as it's counting the '-' as a value but remember the - is not a value it's actually a NULL. Sorry should probably have been clearer. So effectively need to return rows where Country 1 is NULL.
can please provide some examples .
Treat the '-' as NULLS ie blank cells
Hi,
But in you example file it not null it has the value - so it will be treated as the - value.
if you have blank then only it will be treated as null.
NOTE: Even if you have a single space also it will treated as value