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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ADSL
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.

2023-06-01_22-12-23.png

2023-06-02_06-15-54.png

Here is the sample pbix file - https://drive.google.com/drive/folders/104HeZ5Rcvstgb4y9QaSzkNTDWLpGvvXJ?usp=sharing 

 

Any suggestion?

 

Thanks and Regards,

 

5 REPLIES 5
Ahmedx
Super User
Super User

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

Ashish_Mathur
Super User
Super User

Hi,

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


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur ,

 

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

 

2023-06-04_14-01-19.png

 

Please kindly check and help.

 

Thanks and Regards,

lbendlin
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.

 

2023-06-04_08-35-29.png

 

Please kindly help

 

Thanks and Regards,

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Find out what's new and trending in the Fabric Community.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.