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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JulienSchanen
Regular Visitor

Histogram - Data Quality

Hello,

 

I'm a new user of Power BI desktop. I'm trying to create a data quality report and I want 3 elements :

- A table with information from each of my columns (for that I used Table.profile() )

- A dropdown list to select just one field (based on the table created by table.profile)

- And an histogram to show the frequency of each results for the selected field

 

But I don't know how to link the dropdown and the histogram to show only data from the selected field in the histogram 

 

Thanks you for your help

1 ACCEPTED SOLUTION

Hi @JulienSchanen 

We can't change the columns added in the "Axis" field of the column chart.

 

One workaround is as below

Assume you have data as below

Capture14.JPG

Add an index column from 1 in Edit  queries

then click on "index column", unpivot other columns

Capture15.JPG

Close &&apply

Capture16.JPG

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-juanli-msft
Community Support
Community Support

Hi @JulienSchanen 

What final output do you want?

As tested, you could create measures to return data as function- Table.profile() does

It can change according the "drop down" slicer.

Capture3.JPGCapture4.JPG

 

As teste, i can create a frequency histogram as below.

Capture2.JPG

Please share some example data or expected result so i can help you to get the result.

 

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-juanli-msft 

 

Thanks you for your help !

 

I want that kind of output :

 

Capture.JPG

 

And when I changed the field to analyze, I want an automatic update of the histogram below with the frequency of the chosen field.

 

Best regards,

Julien

Hi @JulienSchanen 

We can't change the columns added in the "Axis" field of the column chart.

 

One workaround is as below

Assume you have data as below

Capture14.JPG

Add an index column from 1 in Edit  queries

then click on "index column", unpivot other columns

Capture15.JPG

Close &&apply

Capture16.JPG

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It's working

 

Thanks a lot for the solution Maggie

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.