Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Solved! Go to Solution.
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" )
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" )
User | Count |
---|---|
77 | |
76 | |
41 | |
30 | |
24 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |