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

Substract and Average Time

Hello, 

I need to know how I can make this on PowerBi: 

  • I will receive a template table, so I will apply my measure to it each time I received a new Table
  • I need to calculate the difference between two columns, the format is date(mm-dd-yyyy) - hours - minuts. So I need to calculate the difference between my column "Time Started" and "Date Submitted", which means time ended. This column needs to be called "Time Spent"
    Can I rename this column to Time Ended, and it will stay as "Time Ended" even if I change the data source?.

Also, I want to know the time spent per each category of users. So I will calculate the average time, that the user spent. So, it will be the "Average Time" for each category of users. May be I could used a Slicer, it could be nice.

 

Thank you for your help.

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

In order to better understand your demands and give the right solution, Could you please provide some more specific information? such as your desensitized example data or a screenshot of your desired results?

Thanks for your time and efforts in advance.

 

Best regards,
Community Support Team_ Binbin Yu

daXtreme
Solution Sage
Solution Sage

Hi @Anonymous 

 

Since you're new to the forums... Please read THIS first. It'll help you get answers quicker.

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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