Forum Discussion
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!
I think I have found the solution: setting the weight variable as data values.
3 Replies
- v-huizhn-msft
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
- S_DFrequent Visitor
I think I have found the solution: setting the weight variable as data values.
- v-huizhn-msft
Microsoft Employee
Hi S_D,
Congratulations, please mark your reply as answer, so more people will find the workaround easily.
Best Regards,
Angelia