Forum Discussion
ScottA1423
8 years agoNew Member
Suppressing data
I am building a dashboard that needs to suppress information when it may violate patient confidentiality. The dashboard includes the city of patients who present to the emergency department for accid...
- 8 years ago
Hi ScottA1423
As i use your example, i replace "fewer than 10 " to "1", however it doesn't affect the result you want
Try this measure
Measure = IF ( CALCULATE ( SUM ( Table1[Drug Overdoses] ), FILTER ( ALLEXCEPT ( Table1, Table1[City] ), Table1[Date] <= MAX ( 'Table'[Date] ) && Table1[Date] >= MIN ( 'Table'[Date] ) ) ) <= 1, "S", CALCULATE ( SUM ( Table1[Drug Overdoses] ), FILTER ( ALLEXCEPT ( Table1, Table1[City] ), Table1[Date] <= MAX ( 'Table'[Date] ) && Table1[Date] >= MIN ( 'Table'[Date] ) ) ) )Best Regards
Maggie
v-juanli-msft
8 years agoCommunity Support
Hi ScottA1423
As i use your example, i replace "fewer than 10 " to "1", however it doesn't affect the result you want
Try this measure
Measure =
IF (
CALCULATE (
SUM ( Table1[Drug Overdoses] ),
FILTER (
ALLEXCEPT ( Table1, Table1[City] ),
Table1[Date] <= MAX ( 'Table'[Date] )
&& Table1[Date] >= MIN ( 'Table'[Date] )
)
)
<= 1,
"S",
CALCULATE (
SUM ( Table1[Drug Overdoses] ),
FILTER (
ALLEXCEPT ( Table1, Table1[City] ),
Table1[Date] <= MAX ( 'Table'[Date] )
&& Table1[Date] >= MIN ( 'Table'[Date] )
)
)
)Best Regards
Maggie
Anonymous
3 years agoNot applicable
Is it possible to have this be reflected in a stacked bar chart?
So if some value is fewer than 10, have the chart label in a stacked bar chart display the character "S"? Thank you.