Forum Discussion
ADSL
3 years agoPost Prodigy
Count Visited Frequency
Hi BI Community Team, I have a table of visited summary report that sales rep went to visit customer but one customer was service with multiple sales rep. And we want to know the visited freq...
- 3 years ago
ADSL
3 years agoPost Prodigy
Hi ThxAlot,
Thank you for your helpful feedback, but after trying the measure that you advise in my sample file.
It cannot load the data as the screenshot below. If trying your file sharing, it's working fine.
Any suggestion?
ThxAlot
3 years agoSuper User
It works on my side ... anyway, here is the key measure used in the viz
Cnt =
SUMX(
VALUES( Frequency[Frequency] ),
VAR __cnt = CALCULATE( MAX( Frequency[Index] ) )
RETURN
SUMX(
VALUES( VISITED_SUMM[SALESREP_CODE] ),
COUNTROWS(
FILTER(
VALUES( VISITED_SUMM[CUST_CODE] ),
VAR __dc =
CALCULATE( DISTINCTCOUNT( VISITED_SUMM[VISIT_DATE] ) )
RETURN
__dc = __cnt || __cnt > 8 && __dc > 8
)
)
)
)
Drag and drop colmn/row into a Matrix viz, that's all.
- ADSL3 years agoPost Prodigy
Hi ThxAlot,
Yes, agree that your file sharing is working fine.
I am trying to copy and paste your measure but still cannot of visual building -- Matrix.Sorryy...could you please assist to check and verify the sample file of this link? https://drive.google.com/drive/folders/1_6_W0yi0wOfuJQhfCUnA2IamFqtaKWFk?usp=sharing
I am getting the same issue even create a new file.
Thanks and Regards,