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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jip34
New Member

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

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

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!





Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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