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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
EmaVasileva
Helper V
Helper V

Histogram visual - data aggregation

Hi team,

I’m trying to use a histogram visualization, with Value (work) from one table and Frequency (Shift) from another table.
Here is the raw data:

sc9.png

 

 

 



The issue I have is that when I'm using the Shift in any of the two fields, there are no results (I think this is happening because the shift is a 'text' not a number), or they are aggregated to the smallest unit. I need my histogram to show the work aggregated by shift. Also I will need the histogram to be able to be filtered by extra slicers, such as date, type (another field from the table). 

Have you met the same issue or do you now how this can be fixed?

Thank you.

1 ACCEPTED SOLUTION
David-Ganor
Resolver II
Resolver II

Hi @EmaVasileva ,

 

Histogram is used to present a distribution - which requires 2 numerical values - for example class grades: value = grade, frequency= how many students gottjis grade.

In your case you'd like to show sum of work (probably hours or days) group by shift.

You can use the bar chart for that. In the value- make sure that the work is "sum of work" (aggregation).

Also you can sort it by shift name, or by the sum of work.

Hope it helps.

View solution in original post

1 REPLY 1
David-Ganor
Resolver II
Resolver II

Hi @EmaVasileva ,

 

Histogram is used to present a distribution - which requires 2 numerical values - for example class grades: value = grade, frequency= how many students gottjis grade.

In your case you'd like to show sum of work (probably hours or days) group by shift.

You can use the bar chart for that. In the value- make sure that the work is "sum of work" (aggregation).

Also you can sort it by shift name, or by the sum of work.

Hope it helps.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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