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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.