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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors