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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.