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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Creating a new Table based on data from another table using DAX

Hello Community,

 

I have loaded in a table-1 Containg the following 

Sanath_95_0-1629815750818.png

I need to have the data formated as below in another table..

 Average Time Spent 
Time Spent in Room Axxx
Time Spent in Room Bxxx
Time Spent in Room Cxxx
Time Spent in Room Dxxx
Time Spent in Room Exxx
Time Spent in Eventxxx

 

But when I calculate the Average .. I want to eliminate all "0" and the calculate Average..

is there a possible solution for this?

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Used Unpivot columns option.. Thanks

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Used Unpivot columns option.. Thanks

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.