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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
FreedJustine
Helper I
Helper I

Newbie, I want to get the measure of all distinct count in Table B

Hi, Im a newbie in Power Bi, I have two tables below and want to calculate the distinct count in Table B, however it seems like it only calculate the distict count that has matches in Table A.
 

My Result is = 4 instead of 5
 
I have a big data and merging a table will slow down the process. Please help! Thank you in Advance.
 
 
1 ACCEPTED SOLUTION

Hi @FreedJustine 

It seems you may try ALL function to create a measure to clear the filters as below.If it is not your case,please follow the How to Get Your Question Answered Quickly to post your simple assumed data and expected output.

Reference:https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept...

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

This should work properly - do you have any filters applied from table A? If so, that will affect the outcome.

Hi, Yes I do have filters, i filter them by date.

Hi @FreedJustine 

It seems you may try ALL function to create a measure to clear the filters as below.If it is not your case,please follow the How to Get Your Question Answered Quickly to post your simple assumed data and expected output.

Reference:https://www.sqlbi.com/articles/managing-all-functions-in-dax-all-allselected-allnoblankrow-allexcept...

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.