Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
So, I have table I created in my power query editor. I have a column that has values Red, Yellow, Blue & Green. I want to create a card visual that shows a quantity of how many times "Red" has appeared on my card visual.
The way I want to do this is by making a measure on Power BI that will give a count of that specific value ("Red").
What would the DAX formula for me to obtain this please?
DAX:
Count_Red = calculate(countrows(table), table[column_color] = "Red")
Or you can make a card directly from the column and filter the values in the "Filter" pane.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |