-
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.
[FIX] pivot: apply format on measure only a basic formula
Let's say I have a computed measure "weighted_delay:sum", on which I applied an integer format. I later use it in a formula such as: =PIVOT.VALUE(1,"weighted_delay:sum","#user_id",A3)/PIVOT.VALUE(1,"__count:sum","#user_id",A3) This is no longer an integer. If I change the format on this formula ☝️, the format is applied on the entire measure, which is not what I want. With this commit, we apply the format on the measure (rather than on the cell) if and only if the value comes from a spilled PIVOT formula. closes #5341 Task: 4377411 X-original-commit: 8a18d36 Signed-off-by: Rémi Rahir (rar) <[email protected]> Signed-off-by: Lucas Lefèvre (lul) <[email protected]>
- Loading branch information
1 parent
162bfa7
commit c08abe0
Showing
2 changed files
with
26 additions
and
1 deletion.
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