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
bilalkhokar73
Helper IV
Helper IV

Customer Count group by Based on Date and salesman id

I want to know that distinct count of customer visited by salesman id and date wise, here 

I tried making a reference Table by doing group by on saelsmanid and date new column as Disticnt count , but it is not giving me distinct count

 

I need this two results, but i am getting wrong result, i have attached by file here

https://we.tl/t-tdz1DpPLHG

 

this is desired result - 

bilalkhokar73_0-1675087676474.png

@DataVitalizer @YalanWu_test 

1 ACCEPTED SOLUTION
serpiva64
Super User
Super User

Hi,

to obtain your result you only need to distinct count Date

serpiva64_0-1675088771428.png

If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

 

View solution in original post

1 REPLY 1
serpiva64
Super User
Super User

Hi,

to obtain your result you only need to distinct count Date

serpiva64_0-1675088771428.png

If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

 

Helpful resources

Announcements
Europe Fabric Conference

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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