Forum Discussion
Creating Measure that counts rows in column with a specific value and filters by another column
- 8 years ago
Hi Dillard70,
Try these similar formulas please.
Started = CALCULATE ( COUNTAX ( 'Merged Reports', [Last Finished Milestone] ), 'Merged Reports'[Last Finished Milestone] = "Started", ISBLANK ( 'Merged Reports'[Credit Score] ) = FALSE () )Started 2 = CALCULATE ( COUNTAX ( 'Merged Reports', [Last Finished Milestone] ),FILTER(all('Merged Reports'), 'Merged Reports'[Last Finished Milestone] = "Started"&& ISBLANK ( 'Merged Reports'[Credit Score] ) = FALSE () ) )Best Regards,
Dale
I don't want to use specific data since it is personal information, but I can give an example here. I am using a merged report, so both columns are on the same table:
So, using this example, I would need to measure the count of "Last Finished Milestone" = "Started", but filter out the ones with blanks under the "Credit Score" column.
- ArulselvanD078 years agoHelper I
1. Create a measure for the Count of Last finished Milestone as COUNT(Sheet1[LastFinishedMilestone]).
2. On the visual tab, select the measure you created and the LastFinishedMilestone columns.
3. Drag the credit score column to the report level filter, select the filter type as Advanced Filtering and select is not blank .
Your final visual will look like the below. I have selected Stacked Column chart for the visual.