March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |