Forum Discussion
Andreas_Wacker
5 years agoFrequent Visitor
Creating bar chart total visits with dynamic distinct count
Hello all, a task that seems simple at first sight gets more complicated with every hour I spend trying, reading and thinking about it. If there is already a post about this, I didn't notice it be...
- 5 years ago
Customers Count : =
VAR _currentvisitcount =
MAX ( 'Visit Count'[Visit Count] )
VAR _customersvisitcount =
FILTER (
ADDCOLUMNS (
SUMMARIZE ( Data, Customers[Customer_ID] ),
"@visitcount", CALCULATE ( COUNTROWS ( Data ) )
),
[@visitcount] = _currentvisitcount
)
RETURN
COUNTROWS ( _customersvisitcount )
Andreas_Wacker
5 years agoFrequent Visitor
Hello Jihwan_Kim,
it works. Thank you for your help.
Best,
Andreas