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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
fdevanne
New Member

Choix colonne pour histogramme

Bonjour,

Mes données sont composées d'un tableau avec 3 colonnes (taille, poids, IMC) et en ligne les valeurs pour les différents individus.

Je souhaiterais faire un histogramme de répartition des différentes valeurs pour les différentes colonnes.

Je souhaiterais utiliser un segment pour choisir sur quelle colonne faire les histogrammes et ensuite l'histogramme se met à jour suivant le paramètre sélectionné.

J'ai essayé de créer une table avec les différentes colonnes (taille, poids, IMC), puis créer une mesure avec un selected values puis de faire un switch pour faire le lien mais switch ne fonctionne qu'avec des mesures et non pas avec les variables.

Comment faire ? Merci d'avance

1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @fdevanne 

Step 1: Create a reference copy table (Table 2) of the main table in Power Query

Step 2: Unpivot the three columns of Table 2
Step 3: Create a Clustered Column Chart
Step 4: Create a slicer visual, drag and drop the Attribute field.

 

e.g.

vangzhengmsft_0-1645062309016.png

Please refer to the attachment below for details.

Hope this helps.

 

If I understand your question incorrectly, please consider sharing more details about it and posting expected result so it is clear on what needs to be implemented. It would be great if there is a sample file without any sesentive information here.

 

 

Best Regards,
Community Support Team _ Zeon Zheng

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

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @fdevanne 

Step 1: Create a reference copy table (Table 2) of the main table in Power Query

Step 2: Unpivot the three columns of Table 2
Step 3: Create a Clustered Column Chart
Step 4: Create a slicer visual, drag and drop the Attribute field.

 

e.g.

vangzhengmsft_0-1645062309016.png

Please refer to the attachment below for details.

Hope this helps.

 

If I understand your question incorrectly, please consider sharing more details about it and posting expected result so it is clear on what needs to be implemented. It would be great if there is a sample file without any sesentive information here.

 

 

Best Regards,
Community Support Team _ Zeon Zheng

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-angzheng-msft ,

Thank you very much for your clear explanations. It is working.

Frédéric

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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