Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am trying to write a DAX formula to count the number of 2 different values in a column.
I want to obtain a count of "Responsible Team"- Team 1 , that have had "Day Open Grouped"- Between 35 Days and 1 year, and Over 1 Year.
So in this instance , the count would be 9. (8= Between 35 Days and 1 year, 1= Over 1 Year)
Responsible Team Days Open Grouped
| Team 1 | Less than 35 days |
| Team 1 | Between 35 Days and 1 year |
| Team 1 | Between 35 Days and 1 year |
| Team 1 | Less than 35 days |
| Team 1 | Between 35 Days and 1 year |
| Team 1 | Between 35 Days and 1 year |
| Team 1 | Over 1 year |
| Team 1 | Less than 35 days |
| Team 1 | Between 35 Days and 1 year |
| Team 1 | Between 35 Days and 1 year |
| Team 1 | Between 35 Days and 1 year |
| Team 1 | Between 35 Days and 1 year |
Thanks, DL
Solved! Go to Solution.
Hello,
You can try:
Count Measure =
CALCULATE(
COUNTROWS(Table1)
,Table1[Responsible Team]="Team 1"
,Table1[Days Open Grouped] in {"Between 35 Days and 1 year", "Over 1 year" }
)and change Table1 to your table name.
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on
Hello,
You can try:
Count Measure =
CALCULATE(
COUNTROWS(Table1)
,Table1[Responsible Team]="Team 1"
,Table1[Days Open Grouped] in {"Between 35 Days and 1 year", "Over 1 year" }
)and change Table1 to your table name.
Did I answer your question? Mark my post as a solution! Proud to be a Super User!
Connect with me!
Stay up to date on
Read my blogs on
Thank you- it worked!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.