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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.