Forum Discussion

Dunners's avatar
Dunners
Icon for Advocate II rankAdvocate II
5 years ago

Single table for multiple viz (noob question!)

Hi, first time post and just started using PB right now so apologies for what is likely a dumb question.

 

I want to build a dashboard from a single 'master' CSV file which has already been generated. Different viz will require different transformations and filters as the CSV format is (necessarily!) complicated.

 

For example, multiple columns contain the same set of categories, which seems to mean I can't join my 'sorting' table to it for custom category sorting. However, I'd still like those categories sorted in the same order regardless of the column used.

 

Most viz I will be creating will use a subset of around 4-6 columns relating to the latest financial quarter last year; the next viz might require another 4-6 columns relating to the full financial year this year.

 

I appreciate I can transform the CSV into a more flat format, however I also need the unflattened format for other parts of the dashboard, eg for year on year analysis.

 

What is the best practice for data management here - creating a new query for each visualisation I need? Or can I create a transformed version of the master table?

 

Or is there another way?

 

I'm mostly concerned about the loading and refresh speed of the end result.

2 Replies