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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.