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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.