sum case

Ana
Member
how categorical variables can have a numerical total of another numerical variable? for example i need sum THE TOAL OF SALE FROM DIFERENT BRANDS / TOTAL OF SALES. the query needs to be smart enough to determinate the different brans AND IN A GRAPHIC THE BRANDS NEED TO BE IN X AXIS AND % IN Y AXIS
0
Answers
-
I think that you could do this with a Pareto. Place
BrandName
in the Pareto Name andSales
in the Pareto Value. The graph will then tell you the % of total sales.However, if it needs to be a Bar graph, you can use a formula like this:
SUM(
Sales
) / SUM(SUM(Sales
)) FIXED (FILTER DENYBrandName
)Using this formula should let you place the brand name on the x axis and this value in the y axis to create your desired graph.
If you are running into issues, it would be helpful to see what your dataset looks like and how you expect to visualize your data.
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman1
Categories
- All Categories
- 1.2K Product Ideas
- 1.2K Ideas Exchange
- 1.3K Connect
- 1K Connectors
- 267 Workbench
- Cloud Amplifier
- 3 Federated
- 2.5K Transform
- 78 SQL DataFlows
- 524 Datasets
- 1.9K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 433 Beast Mode
- 22 Variables
- 508 Automate
- 114 Apps
- 386 APIs & Domo Developer
- 8 Workflows
- 25 Predict
- 9 Jupyter Workspaces
- 16 R & Python Tiles
- 331 Distribute
- 76 Domo Everywhere
- 255 Scheduled Reports
- 65 Manage
- 65 Governance & Security
- 1 Product Release Questions
- Community Forums
- 40 Getting Started
- 26 Community Member Introductions
- 67 Community Announcements
- 4.8K Archive