superset icon indicating copy to clipboard operation
superset copied to clipboard

Use column [d3] formatting in table/pivot on both explore and dashboard views

Open mistercrunch opened this issue 9 years ago • 8 comments

I think this never worked on Pivot viz, and there may be a regression on Table in Dashboard view after deprecating explorev1

mistercrunch avatar Feb 02 '17 21:02 mistercrunch

#2058

yileic avatar Feb 03 '17 18:02 yileic

1/ I think I have the same issue with Druid as I understand here :
d3 units are well displayed on 'slices view' (D3 '.2f' -)> a basic eCPM as an example capture d ecran_2017-03-17_09-35-46 On 'dashboard view' the same data appear : capture d ecran_2017-03-17_09-35-25

2/ Is there a way to force formats/units with JSON Metadata specific parameter of Dashboard ?

Thanks

macfly1202 avatar Mar 17 '17 15:03 macfly1202

It requires a bit of work to be fixed

mistercrunch avatar Mar 17 '17 16:03 mistercrunch

Thanks for answer and all the great work here. Hope it will arrive soon.

macfly1202 avatar Mar 17 '17 16:03 macfly1202

same issue too . I changed the default column d3 format to 'fix' this issue.

  • superset/static/assets/javascripts/modules/utils.js

//format = format || '.3s'; format = format || '.2f';

  • superset/static/assets/javascripts/modules/superset.js

//format = format || '.3s'; format = format || '.2f';

  • and then rebuild the files

  • the full list of source files with default ".3s" d3 format image image

laoba25 avatar Apr 24 '17 07:04 laoba25

Hi, I still encounter this issue I write on 17th March with d3 formatting. Has it been planned on the roadmap to be definitely fixed? It's very annoying to have for example 0.257 in the first column and 257m (for the same numeric value) in the second column of the same table. Thank you very much for the answer.

macfly1202 avatar Jun 12 '17 09:06 macfly1202

Is there any plan on adding formatting abilities for tables in the future? Would like to format it as f0 for example, but there is no possibility in the slice editor

Stevie337 avatar Jan 15 '18 14:01 Stevie337

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 11 '19 03:04 stale[bot]