Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi BI Community Team,
I have a table of "Visit Plan" that it's preparing by sales rep and submit to us every month.
Follow the working day of the month (e.g. no. working day in July have 26 day), we want to know the avg. visit plan per day by sale rep, sales team.
Logic_SR = total no. of visit plan / total no. working day
Logic_Team = total no. of visit plan / total. no of sales rep belong to team / total no. working day
Any suggestion/advise?
Thanks and Regards,
Solved! Go to Solution.
Hi,
Write this measure. File attached.
Avg. Visit per team = DIVIDE(DIVIDE([Visit Plan],[Working Days (Month)]),DISTINCTCOUNT('Visit Plan'[SALESREP_CODE]))
Hi,
Based on the sample table that you have shared, show the expected result very clearly.
Hi @Ashish_Mathur ,
Thank you for your feedback.
May I need your support of this post? the screenshot below, it's the expect result and calculation.
Avg. visit per day should be divide by no. working day when we choose the "Month" slicer. for team, Avg. visit per day should be no. visit plan / total sales rep of team / no. working day.
Thanks and Regards,
Hi,
Share the download link of the PBI file.
Hi @Ashish_Mathur ,
Here is the link of file - https://drive.google.com/drive/folders/11WhohpJrJSWio_WNbesqlQCMjaTn1spq?usp=sharing
Thanks and Regards,
Hi,
Just simplify the measure to:
Working Days (Month) = CALCULATE(COUNTROWS('Calendar'),'Calendar'[DayInWeek]<=5)
and everything falls in place.
Hope this helps.
Hi @Ashish_Mathur,
Thank you for helpful feedback.
Sorry... May I need your help of Avg. visit plan by team? That's calcaluation is:
Visit plan / No. of sales rep / Working Day
Thanks and Regards,
You are welcome.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
87 | |
84 | |
68 | |
64 | |
63 |
User | Count |
---|---|
208 | |
120 | |
113 | |
79 | |
72 |