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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
S_D
Frequent Visitor

Need help with using a weight variabele

Hello,

 

I have surveydata and wants to use a weight in my tables and visualisations.

 

For example, every man has a weight of 0,8 and every woman has a weight of 1,2 . So I want in my barchart not the unweighted 50%-50%, but the weighted 40%-60%.

 

Has anyone an idea how I can do this?

 

Thanks for thinking about it!

1 ACCEPTED SOLUTION

I think I have found the solution: setting the weight variable as data values. 

weighted.PNG

View solution in original post

3 REPLIES 3
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @S_D,

Based on your description, it's hard to reproduce your scenario. Please share a sample table and list the expected result, so that we can post solution which is close to your requirements.

Best Regards,

Angelia

I think I have found the solution: setting the weight variable as data values. 

weighted.PNG

Hi @S_D,

Congratulations, please mark your reply as answer, so more people will find the workaround easily.

Best Regards,
Angelia

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors