cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
0 Kudos

group by excluded()

☐ cool new feature
☑ could help many users!

☐ removes a „bug“

☐ nice to have

☐ nobody needs it

 

 

By default, column formulas include "excluded" rows in the calculation.

Holger_0-1656565775173.png

An easy solution is to add "excluded()" explicitly as a group by option:
Exclude data in formula 

 

 

My wish:

a option in the  New Formula Column context menu:

Holger_1-1656565955021.png

 

more wishes submitted by  hogi_2-1702196401638.png

9 Comments
mia_stephens
Staff
Status changed to: New

Thank you for this suggestion @hogi. It has been submitted for consideration.

SamGardner
Level VII
Status changed to: Acknowledged
 
SamGardner
Level VII

@hogi looking at this solution that was posted previously:  Exclude data in formula   Is that a sufficient solution to this issue?  

SamGardner
Level VII
Status changed to: Needs Info
 
hogi
Level XII

Hi @SamGardner

The previous post is great: it explains how the problem can be solved in JSL.

 

This wish was triggered by the original post - but it goes beyond just a "solution".

A user of the current version of jmp still has to find out that something goes wrong, search the community and find the correct post.

 

Even then the user 

- has to be aware of the issue *)

- has to know how to fix it

- has to fix it manually

whenever he wants to add a column via "new formula column".

All these 3 topics could be addressed by adding a "group by excluded()" option to the "new formula column" menu.

 

*) first-time users could get aware by a short popup that explains the background:

 

HolgerSp_1-1658128251743.png

 

 

SamGardner
Level VII

Looking at the problem you have described, the main issue is that column formulas that calculate summary values from other columns do not respect the excluded row state, and we need a better and more obvious way to enable the user to be able to do that.  

SamGardner
Level VII
Status changed to: Investigating
 
hogi
Level XII

hi Sam, yes, exactly.

hogi
Level XII

@mia_stephens 
Discussed @DACH2024:
as an alternative hint for new users:

if a user creates a column formula with an aggregation like COL Mean() 

AND if there are excluded rows in the table, JMP should warn the user that the result is most probably wrong.

The warning can be disabled in the dialog - or via the preferences.

This will guarantee that every user knows about this conflict between column formulas and row exclusion.

[every newbie will assume that Column Formulas behave the same as Tables/Summary Statisitcs, Tabulate, Graph Builder, Distribution, any platform ....]


related wishes:
Option for formulas to ignore excluded rows 
Formula Editor: meaningful results with excluded rows 
different alternatives are suggested, but all 3 of them want to solve the same issue.
maybe mark 2 or them as duplicates?