Forum Discussion
emman_burgonia
3 years agoFrequent Visitor
Creating a Matrix Table from Different Columns
Hi everyone, I am still pretty new in Power BI but I am having trouble creating a matrix visualization based on this table: The idea should look like this I was able to extract the...
- 3 years ago
In the "Rows" box drag the "Geocity" field
In the "Columns" box put the "EnrolementYear" field
In the "Values" box put the "Code" BUT then right click on it and choose "Count".
Apologies if that's what you've already tried. If so, perhaps you could explain a little more or provide some sample data.
JorgePinho
3 years agoSolution Sage
If you want to display the number of codes by city and year you can do this:
Add the year field to the Columns and the city field in the Rows. Then in the Values you can add DAX measure like this:
Count_of_code = COUNTROWS(Code)