Rhonda
Rhonda

Reputation: 1721

Tableau Pie-Chart with Measures

I have data with many measures values for each SiteID, i.e.

Total Windows    Total Mac    Total Online    Total Offline    Total Computers    SiteID

I have been googling how to create pie chart in Tableau, but these tutorials assume I have data that looks like

 OS    Status    SiteID

What I am ultimately trying to do is create a pie chart of online vs offline users and use actions from other data points to filter that chart.

I just need to know how to create pie-chart and from there I can create action.

Upvotes: 1

Views: 8890

Answers (2)

Andrew LaPrise
Andrew LaPrise

Reputation: 3413

If I understand your question correctly, it sounds like you want to make a pie chart showing online users vs. offline users, and be able to filter it by SiteID.

You could do this by:

  1. Go to Marks and select Pie.
  2. Drag [Measure Names] into Color.
  3. Drag [Measure Values] into Angle.
  4. Remove all pills except for [Total Online] and [Total Offline] from the Measure Values card.

Then you can create a SiteID filter by creating a quick filter, dragging SiteID to the filter card, or using an action from a dashboard.

Upvotes: 8

Bernardo
Bernardo

Reputation: 3318

Sounds like you need to reshape your data. Can you use SQL to do so?

Upvotes: 1

Related Questions