Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a table with a column heading Munipality and colums with the address.
I want to have a measure that gives me the # addresses per muncipality.
Here is a screenshot:
Solved! Go to Solution.
@smmoore34 It looks like you created a new table and I'm not sure if you have to, and it looks like the relationship between the new table and existing isn't working. Also, I edited my response and added a second solution that counts the number of cities per municiplaity.
Exactly! Unfortunatley I still received the same results.
@smmoore34 It looks like you created a new table and I'm not sure if you have to, and it looks like the relationship between the new table and existing isn't working. Also, I edited my response and added a second solution that counts the number of cities per municiplaity.
Add Municipality to a table visual along with this measure.
Address Count = DISTINCTCOUNT ( 'YourTable'[Address Field] )
Worked perfectly when I created it as a measure and added it to a table.
Thank-you! Happy New Year!
You're welcome, and Happy New Year to you too!
Thank you for your quick response. As I understand this, I created another table with just the municipalites.
I added a new column with the formula you listed but it's giving me the total# records. My first table has 42 records and each record contains contains 1 of the 9 municipalites. For example, 5 records contain Town of Newfield, 7 contain Town of Groton etc. My table should show this count for each municipality.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
116 | |
82 | |
47 | |
42 | |
31 |
User | Count |
---|---|
186 | |
80 | |
72 | |
48 | |
45 |