-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add button for selecting pivot fields via dropdown #4020
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and works as intended 👍
measures: ({ metricsSpecQueryResult, dashboard }: DashboardDataSources) => { | ||
const measures = | ||
metricsSpecQueryResult.data?.measures?.filter( | ||
(d) => d.name && dashboard.visibleMeasureKeys.has(d.name), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wondering if we should only limit to visible measures and dimensions in the pivot. We don't have controls to change the visibility in the pivot view. Probably better if we show all available dimensions and measures cc @mindspank What do you recon we should do here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@djbarnwal Yes I would display all dimensions and measures
This PR adds a button to the pivot columns and rows drag lists that allows the user to select pivot fields via dropdown. To support this, the dimension and measure aggregators have been moved to the pivot selectors.