you need to create sets to achieve the combinations count or percentage... when you create set select the condition instead of top or general... in the condition write the below conditon
(if diabetes=1 then 1 else 0 =1)
(if hyper=1 then 1 else 0=1) = 2
there might be simple change in syntax... but this logic will work...
If your data is structured as shown in the second image, you would need to pivot it when creating your datasource in Tableau. That functionality is described in the Tableau help here:
Then your x-axis would be the pivot field names, and your N sizes would be the pivot field values.
For the second part of your question regarding combinations of conditions, I'm not sure there is an easy way to do that in Tableau using row-level data. It may be best to aggregate those combinations separately. But maybe someone else would have some ideas.
Create a counter for each of the diseases and place each counter value on the marks shelf. Something like this should work.
Hope this helps,
Hi Brent, thanks for your help!
Hi Tim, thanks for your help
Hi Suresh, thanks for your help.