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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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:
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.
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.
UP
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!