Forum Discussion
Cohort/Group comparisons
- 4 years ago
Hi rchappelle ,
This can be achieved using measures for example:
MAle = CALCULATE(AVERAGE( 'Table'[Priority]),'Table'[Gender] = "M") Female = CALCULATE(AVERAGE( 'Table'[Priority]),'Table'[Gender] = "F") Age 35 + = CALCULATE(AVERAGE( 'Table'[Priority]),'Table'[Age] >= 35) Location_ = CALCULATE(AVERAGE( 'Table'[Priority]),'Table'[Location] = "Leeds") Nationality Average = CALCULATE(AVERAGE( 'Table'[Priority]),'Table'[Nationality] in VALUES(Nationality[Nationality]))Then you can place it on a matrix and go to the options and turn on the option Show on Rows result below:
To make it dinamic you can create tables for slicers in this case I have done it for nationality and you can see based on the selection of the slicer the average gets calculated. You just need to do one for each of your variations.
PBIX file attach.
This is just one option depending on your model and needs you can do MGI, calculation groups and all sort of things.
Leads
Company | Contact | Title | Sector | Ownerid | Amount |
Az Group | Jude | Interested in S2 | Agriculture | As34d-123hh5-q23wed | 100000 |
Programmers | Tina | Purchase of S4 | ICT | As34d-123hh5-q23wed | 500000 |
IBIS | Toyin | 4x4 truck | Hospitality | Hn45h-334hf6-y45uad | 100000 |
Vento | Charles | 12 seater bus | Furniture | Jjk90m-887lk9-n75mcd | 300000 |
systemuser
Userid | Name | Title | Business unit |
As34d-123hh5-q23wed | Steven | Sales executive, PV | Passenger vehicle |
Hn45h-334hf6-y45uad | Tommy | Sales executive, LDT | Light duty truck |
Jjk90m-887lk9-n75mcd | Moshood | Sales executive, LDT | Light duty truck |
Hi MFelix apologies for late response i have posted an example of what my tables look like