kakemphaton
New Member
- Joined
- Dec 29, 2012
- Messages
- 5
Hello,
I have a problem with this formula =COUNTROWS(DISTINCT(AO_SQL[unique_key])). The results is wrong because, all duplicated rows aren't identified. My table is structured like this :
Year Month unique_key place area
2012 5 2565 France Nantes
2010 5 3256 Germany Berlin
2010 5 3256 UK London
A Unique key could have multi rows with data in place and area.
The right result for 3256 is 1 row. This formula is created in measure in Excel. This formula works if i want to count unique key, but when i put "area" or "place" in column labels, the result is wrong, because Excel considers Germany and UK like 2 rows, or i would like Excel count 1 row but not 2. I would like Excel show one of the two rows, the best will be show the firt row in my table, so Germany.
Sorry, my english is bad
Thanks You
I have a problem with this formula =COUNTROWS(DISTINCT(AO_SQL[unique_key])). The results is wrong because, all duplicated rows aren't identified. My table is structured like this :
Year Month unique_key place area
2012 5 2565 France Nantes
2010 5 3256 Germany Berlin
2010 5 3256 UK London
A Unique key could have multi rows with data in place and area.
The right result for 3256 is 1 row. This formula is created in measure in Excel. This formula works if i want to count unique key, but when i put "area" or "place" in column labels, the result is wrong, because Excel considers Germany and UK like 2 rows, or i would like Excel count 1 row but not 2. I would like Excel show one of the two rows, the best will be show the firt row in my table, so Germany.
Sorry, my english is bad
Thanks You