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

Time based chart

Hi,

 

i have the columns in table following

 

 

Engagement start time   MIns(Duration )      Department

 

10.00                                  20                            Sales

11.00                                  15                           Marketing

12.10                                   60                          Sales

 

want to show in a chart at which time call happened on daily basis(today)

or  else time taken from engagement start time to end time to progress the call of each department.

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi yuvarajg,

 

From your description, I create sample data to reproduce your scenario. Firstly, create column "Engagement end time" to get end time, and create table"TimeKey" to display 24 hours daily for further measure analysis.

 

Engagement end time = 'Table'[Engagement start time]+TIME(0,'Table'[Mins(Duration)],0)

 

Secondly, create measure "Call_Num" to count call using DAX function below.

 

Call_Num = CALCULATE(COUNT('Table'[Department]),FILTER(ALLSELECTED('Table'),'Table'[Engagement start time]<=MAX('TimeKey'[Time])&&'Table'[Engagement end time]>=MIN(('TimeKey'[Time]))))

 

Finally, choose Clustered column chart visual to show at which time call happened on daily.

 

10.jpg

 

 

 

 

 

 

 

 

 

 

 

 

Here is my pbix test file link: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/ETqD8p4o2WBMmqB5UZ...

 

If you have any other issue, please feel free to ask.

 

Best Regards,

Amy

View solution in original post

1 REPLY 1
v-xicai
Community Support
Community Support

Hi yuvarajg,

 

From your description, I create sample data to reproduce your scenario. Firstly, create column "Engagement end time" to get end time, and create table"TimeKey" to display 24 hours daily for further measure analysis.

 

Engagement end time = 'Table'[Engagement start time]+TIME(0,'Table'[Mins(Duration)],0)

 

Secondly, create measure "Call_Num" to count call using DAX function below.

 

Call_Num = CALCULATE(COUNT('Table'[Department]),FILTER(ALLSELECTED('Table'),'Table'[Engagement start time]<=MAX('TimeKey'[Time])&&'Table'[Engagement end time]>=MIN(('TimeKey'[Time]))))

 

Finally, choose Clustered column chart visual to show at which time call happened on daily.

 

10.jpg

 

 

 

 

 

 

 

 

 

 

 

 

Here is my pbix test file link: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/ETqD8p4o2WBMmqB5UZ...

 

If you have any other issue, please feel free to ask.

 

Best Regards,

Amy

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.