Forum Discussion
How to Dynamically Update Histogram with Slicer in PowerBI
- 2 years ago
[Solution]
I added a table to represent separate groups and set it up by using measure to calculate the number of cases for each group. I've noticed that the histogram is generated dynamically based on the lookup period.
Thank you for your response.
What I want to achieve is a histogram with groups on the X-axis and the count of data within each group on the Y-axis, as shown in the attached histogram. I am calculating the groups based on the min and max, dividing them into 10 groups.
With the current DAX formula I have, the histogram does not recalculate and only shows parts of the already calculated groups.
If I calculate the groups as a measure, it works for the selected time range, but I still cannot use this measure on the X-axis of the vertical bar graph. I need to display the groups as a column. When using the measure as a column, it still calculates for the entire period.
This is the histogram I want as a result.
- Guneui_Lee2 years agoRegular Visitor
[Solution]
I added a table to represent separate groups and set it up by using measure to calculate the number of cases for each group. I've noticed that the histogram is generated dynamically based on the lookup period.