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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ePros
Frequent Visitor

Can you create a measure, based on a conditional count of another measure for a specific time period

Can you create a measure, based on a conditional count of another measure for a specific time period.

Here is what I am trying to do, I have a massive database that holds individual sales. I want to offer a running incentive to my top sales agent, But count of sales by agent is just a measure since each sale is a new line regardless of salesrep.  So I want to look at each day, count the number of sales by agent, by day and if above set amount, enter a value in another measure or column.

Is this even possible?

1 ACCEPTED SOLUTION
CoreyP
Solution Sage
Solution Sage

Definitely. So, you have a table visual on your canvas with Date and Sales Rep. Add your count measure. Then add a second measure like IF( [CountMeasure] > n , "True Value" , "False Value" )

View solution in original post

1 REPLY 1
CoreyP
Solution Sage
Solution Sage

Definitely. So, you have a table visual on your canvas with Date and Sales Rep. Add your count measure. Then add a second measure like IF( [CountMeasure] > n , "True Value" , "False Value" )

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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