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.
Hi Guys
I want to create a distinct count for cancel note
These "Request from Management - pick up resource hours" should only be count once since it's all from the same date but different shift.
However, If I only use distinct count in this situation. "Request from Management - pick up resource hours" from other date will all count as only one note in total
Is there anyway I can count this cancel note also with parameter of different date so "Request from Management - pick up resource hours" from other date will count seperatly?
Thanks In advance.
Hi, @njxfoster
The sample data you share is not representative, Does the cancel_note column have only one value? The same agent_name appears on only one day? Please describe your needs completely without your subjective operational awareness. In this way we can give an accurate formula.
Do you want to count how many different dates have cancel_note under the current agent_name?
Best Regards,
Community Support Team _ Janey
Hello:
What is your expected result?
Can you try for the first measure:
Hi! Thank you for your answer
For example:
If I use distinctcountnoblank. the result for "request from managemnt" will only show 1
I want to add condition to the measure so it count this "request from management" as 3 since there are three different agents who share same cancel reason.
OK. You can put calc column in table:
User | Count |
---|---|
25 | |
11 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
13 | |
11 | |
9 | |
7 |