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.
I'm trying to create a count of the Article Shared column based on what's in the Case Status column.
I need to know how many Closed cases have a True in the Article Shared column. Is this something I can do?
Solved! Go to Solution.
Try this,
Closed Cases =
COUNTROWS(
FILTER(
Sample_Data,
Sample_Data[Case Status] = "Closed"
&&
Sample_Data[Article Share] = TRUE()
)
)
Closed Cases with Articles Shared = CALCULATE( COUNT('CaseTable'[Article Shared]), 'CaseTable'[Case Status] = "Closed", 'CaseTable'[Article Shared] = TRUE() )
This measure calculates the count of 'Article Shared' column where the 'Case Status' is "Closed" and 'Article Shared' is True. You can then use this measure to display the result in a visual or table.
Try this,
Closed Cases =
COUNTROWS(
FILTER(
Sample_Data,
Sample_Data[Case Status] = "Closed"
&&
Sample_Data[Article Share] = TRUE()
)
)
Perfect. Thank you so much for your help
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |