Change value formatting based on KPI selected in variable
I have a card that allows the user to select which metric (Sales, Units, Margin %, etc) they want to graph by, using a variable control.
Is there a way to force data formatting to be 'currency' when 'sales' is selected for example? Then when a user selects 'units', we'd want the formatting to now be shown as 'number'. With margin %, we'd have it automatically format as a 'percentage'.
Thanks in advance,
Michael
Best Answer
-
To my knowledge, is not possible to programmatically change units like that. I've done very messy string manipulations doing what you described but I don't recommend it and your totals won't work.
2
Answers
-
To my knowledge, is not possible to programmatically change units like that. I've done very messy string manipulations doing what you described but I don't recommend it and your totals won't work.
2
Categories
- All Categories
- 1.4K Product Ideas
- 1.4K Ideas Exchange
- 1.4K Connect
- 1.2K Connectors
- 284 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.9K Transform
- 88 SQL DataFlows
- 555 Datasets
- 2.2K Magic ETL
- 3.3K Visualize
- 2.3K Charting
- 567 Beast Mode
- 9 App Studio
- 27 Variables
- 577 Automate
- 140 Apps
- 414 APIs & Domo Developer
- 22 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 350 Distribute
- 90 Domo Everywhere
- 258 Scheduled Reports
- 2 Software Integrations
- 91 Manage
- 88 Governance & Security
- 9 Product Release Questions
- Community Forums
- 42 Getting Started
- 28 Community Member Introductions
- 85 Community Announcements
- 4.8K Archive