then Drop what ever you grop on in Table one This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules. To learn more about Power BI, follow me on Twitter or subscribe on YouTube. You can use a profiling query. In this example, the Ignore case option was enabled, so the values in the From column of the Transformation table are used to look for the text string without considering the case of the string. COUNTX function Thanks for contributing an answer to Stack Overflow! Reza. Image Source. Syntax DAX VALUES(<TableNameOrColumnName>) Parameters Return value I presume I would need a measure with DAX counting the number of Unit Numbers based on distinct values of work order numbers. How To Count Distinct States Based Distinct PersonsNames. Find out more about the February 2023 update. Find out more about the February 2023 update. My code is GPL licensed, can I issue a license to have my code be distributed in a specific MIT licensed project? Redoing the align environment with a specific formatting. I did the same but it takes much longer time to refresh the data. You can remove the count column if not required. Acidity of alcohols and basicity of amines. Just to add: the Unit Numbers are the unique identifiers of each unit being worked on. It's important that the transformation table has a the same columns and column names as shown above (they have to be "From" and "To"), otherwise Power Query will not recognize these. Using Kolmogorov complexity to measure difficulty of problems? The table below is a simple version. Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is beyond their comprehension! then drop what u need to count in table 2. vegan) just to try it, does this inconvenience the caterers and staff? How to show that an expression of a finite type must be one of the finitely many possible values?