Forum Discussion
Dicko
5 years agoHelper II
count per date
I want to show the number of products sold per date in a table visual. I've got a measure NrOfProducts = COUNTROWS(Products) Also I've got Products[sold on] of type date/time (not a Date Hierar...
- 5 years ago
Hi Dicko,
You can try measure as:
Measure = CALCULATE( COUNTROWS('Products'), FILTER( ALL('Products'), 'Products'[Sold on]=MAX('Products'[Sold on]) ) )You can also removing other columns with different values from the table visual, and then your original measure will work well.
Best Regards,
LinkIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
PoojaDarbhe
5 years agoResolver I
Hi Dicko
Could you please post your table structure?
Otherwise you can try like fllowing
1) take date and product in the grid
2) then click on the product column in fields pane
3) now click on count
It will give you the correct result.
Best regards,
Pooja Darbhe