cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Syndicate_Admin
Administrator
Administrator

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.

diegoa2f_0-1675119805150.png

I have this table and I would like to add an average column in the beginning of my first date (01/01/2023)

Hope you can help me

Best regards.

2 REPLIES 2
amitchandak
Super User
Super User

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.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors