Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am trying to learn DAX and have read several blogs, forums etc. and I am still struggling with what I believe should be simple. I have a table that multiple columns however I need to count the number of records (Record_ID) that contain a value of "Yes" in the Flag column.
Thank you in advance for you guidance.
Solved! Go to Solution.
@Anonymous - did you review https://www.learndax.com/power-bi-countif-and-all-count-functions-in-dax/ ?
For your example:
countif w calculate = CALCULATE(COUNTROWS(yourTableName),yourTableName[Flag] = "Yes")
Proud to be a Super User!
@Anonymous - did you review https://www.learndax.com/power-bi-countif-and-all-count-functions-in-dax/ ?
For your example:
countif w calculate = CALCULATE(COUNTROWS(yourTableName),yourTableName[Flag] = "Yes")
Proud to be a Super User!
Thank you so much. I have not looked at that particular website but I will now.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
60 | |
58 | |
54 | |
36 | |
33 |
User | Count |
---|---|
79 | |
66 | |
45 | |
44 | |
42 |