Forum Discussion

JonSilverman's avatar
JonSilverman
New Member
3 years ago

Making a Table based on grouping multiple Columns - Columns Show Same Values

I wanted to create a new table of city complaints based on "a group by".   The idea was to group by type of complaint, then by count of the complaint, and then bycount of  zip code.   My DAX code to this end is:  

 
Table = SUMMARIZE('erm2-nwe9', 'erm2-nwe9'[complaint_type], "Quantity of Incidents",Count('erm2-nwe9'[unique_key]), "Zip Codes Reporting",Count('erm2-nwe9'[incident_zip] )
 
However the table I get is giving me the same numbers for both of the quantitiative columns.   I don't understand where my error is.  Thank you for your help. 
 
 
 

2 Replies