Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Gururajv007
Helper I
Helper I

Process Cycle Time

Dear Experts - Will be great if you could fix the below problem that I am facing now.

I would like to get the AVERAGE of each columns & visuals like below from TableA. Can you please suggest any Dax formula to calculate or any best approch.

 

Note  : 2 Million rows with different status.

 

Visual.jpg

 

TableA

Status Process A Process BProcess CProcess D
Completed1283
Completed1883
Completed2344
Completed1632
Completed1724
     
4 REPLIES 4
V-lianl-msft
Community Support
Community Support

Hi @Gururajv007 ,

 

You may need to create 4 measures to display in visual,please try to create measures like below:

M1 = CALCULATE(AVERAGE('Table'[Process A]),ALLSELECTED('Table'))
M2 = CALCULATE(AVERAGE('Table'[Process B]),ALLSELECTED('Table'))
M3 = CALCULATE(AVERAGE('Table'[Process C]),ALLSELECTED('Table'))
M4 = CALCULATE(AVERAGE('Table'[Process D]),ALLSELECTED('Table'))


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your reply. But with the 4 measures I cannot created & show the visual like the below right. Need to show in a single bar.

 

Gururajv007_0-1647411788149.jpeg

 

Gururajv007
Helper I
Helper I

Thanks for your reply @amitchandak yes, its for all the 4 columns. I tried using the below dax as you suggested & I have modified to add all 4 colums but I could not get.

 

Tried 1 : averagex(union(Values(Table[Process A]),Values(Table[Process B]),Values(Table[Process C]),Values(Table[Process B])), [Process A])

 

Tried 2
Average = averagex(union(Values('Table'[ Process A ]),Values(Table[Process B]),Values(Table[Process C]),Values('Table'[Process D])),SUMX('Table','Table'[ Process A ]+'Table'[Process B]+'Table'[Process C]+'Table'[Process D]))
amitchandak
Super User
Super User

@Gururajv007 , for all 4 columns ?

 

averagex(union(Values(Table[Process A]),Values(Table[Process B]),Values(Table[Process C]),Values(Table[Process B])), [Process A])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.