Skip to main content
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Post Prodigy
Post Prodigy

Count Visit frequency (Week & Month)

Hi BI Community Team,


I have a table name "Customer Visit Plan -- CUST_VISIT_PLAN".


In this table, we want to find/calcualte how many customer that sales rep input to visit based on frequency below. Normally we count the visit date then we can find the number of visit plan of Month not week that actually they have number of visit in the week too.


For Week -- some sales rep add visit freq 2 or 3 time at the same week.



Here is the sample pbix file - 


Any suggestion?


Thanks and Regards,


Super User
Super User

I have the result as in the screenshot
Screen Capture #1211.pngScreen Capture #1213.png

Super User
Super User


Based on the tables that you have shared, show the expected result very clearly.

Ashish Mathur

Hi @Ashish_Mathur ,


We want to see the summary by sales rep as the screenshot below.




Please kindly check and help.


Thanks and Regards,

Super User
Super User

Your visit_freq table is missing an index column and it has conflicting buckets.  (the latter can be dealt with if you have the former).

Hi @lbendlin ,


For time/month, it should be as the screenshot below. But time/week, I don't know to add.




Please kindly help


Thanks and Regards,

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.