Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to create a measure in Power BI where I am counting the distinct rows of one column if another column contains certain text in a string and keep getting an error. Any assistance would be helpful.
Solved! Go to Solution.
@tsuarez ,
try this measure,
Count of Task Name =
CALCULATE(
DISTINCTCOUNT('Table'[Task Name]),
CONTAINSSTRING('Table'[Label],"Weekly"))
Thanks,
Arul
Hello,
Here is some sample data below. The data is based on tasks activity and I want to count the unique Task Names when Labels column contains "Weekly". I'm trying to determine the unique tasks names and what their freqnecies are.
Task Name | Label |
Arkansas Children's Hospital - HCP Surveys | Quarterly;HCP Surveys |
Crouse Health - Future Visibility | Weekly;Future Visibility |
Internal Delivery - Influenza Vaccination Status | Weekly;Credential Data |
Crouse Health - Future Visibility | Weekly;Future Visibility |
Thank you, this was helpful.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |