Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
xiumi_hou
Post Partisan
Post Partisan

Urgent..Need help for dax function to count number

Dear all,

 

I want to count how many cases based on below condition:

Can some one help me write the dax funtion? I do not know how to write when the conditions are from two different tables. Thank you so much.

 

Result: I want to count how many distinct cases from case table?     'Case'[Casenumber]

Condition 1: 

Exist below condition:

FILTER('Calls','Calls'[type_c]="Coaching_Session" &&'Calls'[status]="Held")
Condition 2: 
FILTER('Calls','Calls'[name]="Information Session" &&'Calls'[status]="Held")
Condition3" 
'Case'[Status]='Closed'
5 REPLIES 5
xiumi_hou
Post Partisan
Post Partisan

UP

UP

Hi @xiumi_hou ,

Did you implement count numbers with DAX? If yes, welcome to share your solution and accept it as a solution. More people will benefit here. If you still confused about it, please share a dummy file or some sample data and expected result. Then we will understand clearly.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @xiumi_hou ,

Can you please share some sample data and expected results? I tried to create a sample. However, I don't think I get you. Please share the data and tell us what relationship between the tables. Then we sill understand clearly and solve it quickly.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
xiumi_hou
Post Partisan
Post Partisan

UP

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors