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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
maartjedutchy
Frequent Visitor

Sum values matrix based on opening times.

heatmaps.PNG

 

 Hello Power BI community!

 

I am new to Power BI and loving it, but struggling with the following:
I have created a heatmap based on time vs days in the week and the total number of incoming posts. So basically shows incoming posts per hour per day. Now I need one of the two heatmaps to calculate the incoming posts based on opening times of the customer care team.. So if they started at 08:00AM all posts that came in from 00:00-08:00 (and the previous day after closing time) need to sum on the 08:00 value, so you can show backlogs.

 

How do I calculate the sum of incoming posts based on various opening times during the week?

So I need to end up with something like this:

 

heatmap openingtimes.PNG

 

 

 

Hope you can help me out!

 

Thanks a million,

 

Maartje

1 ACCEPTED SOLUTION
v-qiuyu-msft
Community Support
Community Support


Now I need one of the two heatmaps to calculate the incoming posts based on opening times of the customer care team.. So if they started at 08:00AM all posts that came in from 00:00-08:00 (and the previous day after closing time) need to sum on the 08:00 value, so you can show backlogs. 


 

Hi @maartjedutchy,

 

From your description, there should have opening time and closing time columns in your source table? Can you share some dummy data in your table, and expected results you want to display in the matrix visual?

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-qiuyu-msft
Community Support
Community Support


Now I need one of the two heatmaps to calculate the incoming posts based on opening times of the customer care team.. So if they started at 08:00AM all posts that came in from 00:00-08:00 (and the previous day after closing time) need to sum on the 08:00 value, so you can show backlogs. 


 

Hi @maartjedutchy,

 

From your description, there should have opening time and closing time columns in your source table? Can you share some dummy data in your table, and expected results you want to display in the matrix visual?

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Dear @v-qiuyu-msft,

 

Thanks for your reply!

I haven't integrate opening times in my source data yet. Maybe I should create a seperate datafile with opening times and use Vlookup or relationships to link this the my main source. If you have any tips for this, please let me know.

 

My data looks like this:
Publish date column(dd/mm/yyyy hh:mm format) | Count = 1 column | Time column (copied Publish date, formatted to start time)

 

I have a seperate source file with days of the week and weekday nummers.

 

Currently matrix is days of the week column (relationship with publish date) vs Time column with value Count of Count.


The expected result is shown in my originel post. I want i.e. values related to times 00:00-08:00 to sum in the 08:00 value in the matrix. 

 

Thanks!

 

Maartje

 


@maartjedutchy wrote:

 

My data looks like this:
Publish date column(dd/mm/yyyy hh:mm format) | Count = 1 column | Time column (copied Publish date, formatted to start time)

 

I have a seperate source file with days of the week and weekday nummers.

 

Currently matrix is days of the week column (relationship with publish date) vs Time column with value Count of Count.


The expected result is shown in my originel post. I want i.e. values related to times 00:00-08:00 to sum in the 08:00 value in the matrix. 


Hi @maartjedutchy,

 

Can you share some dummy data of those two tables you mentioned? What do you mean "values related to times 00:00-08:00 to sum in the 08:00 value in the matrix. "? Sum 00:00-08:00 values for each weekday and place in 08:00 cell? It would be better if you can tell the results based on provided dummy data.

 

Best Regards,
QiuyunYu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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