Reply
jip34
New Member
Partially syndicated - Outbound

help on histogram click to display other field

hi

I have done an histogram with 5 calculated measure like this : 

 

Battery health < 20% = 
    COUNTROWS(
        FILTER(
            battery_all, 
            battery_all[BatteryHealthValue] <= 0.2
        )
    )

 

it represent x axis

on y axix it's the number of devices (Name field in my table)

but i dont use this field in my histogram

i want if it is possible to display the list of devices in a table view when I click on one of the histogram bar?

thanks 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Syndicated - Outbound

Hi @jip34 -  Your measure calculates the count of rows in the battery_all table where the BatteryHealthValue is less than or equal to 0.2. This is a good starting point for your histogram.If your histogram categories are dynamic, consider grouping them using measures

 

Battery health < 20% =
COUNTROWS(
FILTER(
battery_all,
battery_all[BatteryHealthValue] <= 0.2
)
)

 

Click on a histogram bar (e.g., Battery health < 20%).
Check the Table visual; it should display only devices (Name) falling within the selected category.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Syndicated - Outbound

Hi @jip34 -  Your measure calculates the count of rows in the battery_all table where the BatteryHealthValue is less than or equal to 0.2. This is a good starting point for your histogram.If your histogram categories are dynamic, consider grouping them using measures

 

Battery health < 20% =
COUNTROWS(
FILTER(
battery_all,
battery_all[BatteryHealthValue] <= 0.2
)
)

 

Click on a histogram bar (e.g., Battery health < 20%).
Check the Table visual; it should display only devices (Name) falling within the selected category.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)