Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
104 | |
69 | |
48 | |
41 | |
34 |
User | Count |
---|---|
164 | |
111 | |
62 | |
53 | |
38 |