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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

filter by no of sales

Hi,

I try to create a calculated measure for total No of Sales for the month for the employee to the Sales table 1 below. With that, I wish I will be able to filter the table Say only show employee sales who has more than 4 sales in a month (see table 2)

Is this achievable?

 

Thanks,

 

 

 

 

employee number sales date No of Sales sales date key   total no of sales for the month for the employee
10080601-May-16   1201605014
10080103-May-16   2201605036
10080608-May-16   3201605084
10080106-May-16   4201605066
10080601-Apr-16   2201604017
10080102-Apr-16   1201604021
10080603-Apr-16   4201604037
10080601-May-15   1201505017
10080702-May-15   4201505024

 

 

employee number  Sales date  sales amount  sales date key  total sales for the month for the employee
     
10080103-May-16   2201605036
10080106-May-16   4201605066
10080601-Apr-16   2201604017
10080603-Apr-16   4201604037
10080601-May-15   1201505017
1 ACCEPTED SOLUTION
achinm45
Advocate IV
Advocate IV

Yes this is achievable.

 

Trying use the formula as put in screenshot here.

 

TotalOfMonth.jpg

View solution in original post

4 REPLIES 4
achinm45
Advocate IV
Advocate IV

Yes this is achievable.

 

Trying use the formula as put in screenshot here.

 

TotalOfMonth.jpg

Anonymous
Not applicable

@achinm45 You are the Dax champion. Thanks.

Thanks @Anonymous  for motivation !

SabineOussi
Skilled Sharer
Skilled Sharer

Did you try putting your measure as a visual level filter and choose it to be greater than 4?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.