-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REV] pivot: select pivot cells in composer
This reverts commit 6c4a8e7. It is quite annoying to build a formula by referring a pivot value and getting the full pivot formula rather than its cell address. So a good behavior IMO would be: If you copy a value from a pivot and paste it somewhere else, you would get the full formula (i.e. =PIVOT(1,$$$,$$$,$$$)) If you select a value from a pivot while building a formula within the composer, you would get its address (i.e. =SUM(1+C3+4)) and not (=SUM(1+(PIVOT(1,$$$,$$$,$$$))+4) Additional notes: With the current behavior (full formula inserted) and if you actually want the reference, it's very annoying: you have to delete the full formula, carefully check the reference of the cell you want to target, then type the reference by hand. The other way around is slightly easier: either build the formula using the auto-complete assistant, or copy-paste the cell somewhere else and reference that cell with the fixed formula. There are pros & cons with both behaviors, and they are incompatible. I say: if you use a dynamic pivot, we let you embrace dynamic all the way, otherwise just use a fixed formula pivot. Reverting full formula insertion is also less code and less surprising (not a different behavior just for pivots) closes #5197 Task: 4189098 Signed-off-by: Rémi Rahir (rar) <[email protected]>
- Loading branch information
1 parent
e84a864
commit 88aa2a7
Showing
3 changed files
with
11 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.