Forum Discussion
Syndicate_Admin
3 years agoAdministrator
Add a column in a visual amtrix
Hi community, I hope that you can help me with this question, I would like to add an average column in my visual matrix, for example. I have this table and I would like to add an avera...
amitchandak
3 years agoSuper User
Syndicate_Admin , You can follow this approch
Show Grand total row or Avg Grand total row in Visual: https://youtu.be/OSwRZ4GUhxc
or refer Hybrid visual approch
if you are looking for a Hybrid display with Matrix Column and measure
https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1354591
https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/963588#M428
vote for Hybrid Table
https://ideas.powerbi.com/ideas/idea/?ideaid=9bc32b23-1eb1-4e74-8b34-349887b37ebc
Syndicate_Admin
3 years agoAdministrator
Hi Sydicate,
Thank you for your answer, the problem is that all the data in the matrix table are mesure, I'm using a switch to create all those values, this is my DAX.
Consolidated = if(HASONEVALUE('Categories'[Category]),
SWITCH(VALUES('Categories'[Category]),
"Customers",DISTINCTCOUNT(Data[ins_no]),
"HU Clients", [HU],
"HU% Clients",FORMAT([HU]/COUNT('CategorÃaHU'[HU?]),"percent"),
"Clients c/eventos Acum", [AcumCliente],
"Total Events Acum.", [EventosAcum],
"Accumulated HU", [AcumHU],
"Cumulative%", FORMAT([Cumulative%],"percent")))
Is it posible to add a column and make an average with those rows.