Date de dernière modification : 19 Apr 2023
Environnement
- Tableau Desktop 2020.2.7
Réponse
- Build the Bar Chart
- Create a new worksheet Bar Chart
- Drag Order Date to Columns
- Drag Measure Names to Filters card, select Sales and Profit
- Drag Measure Values to Rows
- Drag Measure Names to the Color of Marks Card
- Change the chart type to Bar
- Build the Details crosstab
- Create a new worksheet Details
- Create a parameter Measure Names Parameter as the following:
- Create calculation field Selected Profit
if [Measure Names Parameter]="Profit" then [Profit] END
Create calculation field Selected Salesif [Measure Names Parameter]="Sales" then [Sales] END
- Drag Order Date to Columns
- Drag Measure Names to Filters card, select Selected Sales and Selected Profit
- Drag Measure Values to Text in Marks card
- Drag Measure Names Parameter, Category, Sub-Category to Rows
- Set up dashboard actions
- Create a dashboard, add Bar Chart and Details to the view
- Select from the menu bar, Dashboard>Actions...>Add Action>Change Parameter
- Click the Use as Filter button
of the Bar Chart
- Edit the generated filter, change the Clearing the selection will: to Exclude all values
Informations supplémentaires
Parameter ActionsMerci de nous avoir donné votre avis sur l’efficacité de l’article.
Ouvrir un nouveau cas
Continuer la recherche
Base de connaissances
Communauté
Aide produit
Formation et tutoriels
Liens connexes
Your query has an error: Request Error.
Trending Articles
Your query has an error: Request Error.