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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Client and Order Counts?

Hi

 

In my dataset we have a client ID, the channel we used to target them, the month we targeted them and the date we recieved the order. There are a bunch of other columns that we want to be able to filter on using a slicer in the report. 

 

UniqueIClientIDTargetMonthChannelOrder Date
91/1/2018Direct Mail10-Jan-18
51/1/2018Direct Mail 
41/1/2018Direct Mail2-Feb-18
81/1/2018Email3-Mar-18
32/1/2018Direct Mail 
22/1/2018Email4-Feb-18
12/1/2018Email10-Mar-18
102/1/2018Email 
73/1/2018Email10-Mar-18
63/1/2018Email3-Mar-18

 

I want to have a date slicer in my report which is based on the order date. The user can 

 

I want to get a table/matrix visual to show the following

 

Channel name - # clients - # Orders - #ConversionRate

 

#clients = no of unique clientID in the target month or perriod selected in the date slicer. (as mentioned the slicer is based on the order date) 

#orders = no. of unique clientID where orderdate is not null and falls in the period selected in the date slicer 

 

I am stumped. Would anyone be able to please help?

 

Thanks

Anupam

 

1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@Anonymous try following measures:

 

# Clients = COUNT( Table[UniqueClientId] )
# Orders = 
CALCULATE( [# Clients], Table[Order Date] <> BLANK() )

Use table visual, add "Channel", "# Clients", "# Orders" on value and check the result.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

1 REPLY 1
parry2k
Super User
Super User

@Anonymous try following measures:

 

# Clients = COUNT( Table[UniqueClientId] )
# Orders = 
CALCULATE( [# Clients], Table[Order Date] <> BLANK() )

Use table visual, add "Channel", "# Clients", "# Orders" on value and check the result.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.