Forum Discussion
Anonymous
5 years agoNot applicable
Hospital Data Question - NEED HELP ASAP
Hello, I am trying to figure out how to make it so that the fields that state "No Injury Reported" and slots that are completely blank don't show up in the charts and tables that I create in Powe...
- Anonymous5 years ago
Hi Anonymous ,
According to my understand , you want to remove the rows when the Outcome is blank or =No Injury Reported and then sort by severity of injury, right?
You could use the following to create a new table:
Table 2 = ADDCOLUMNS ( FILTER ( 'Table', 'Table'[OUTCOME] <> "No Injury Reported" && 'Table'[OUTCOME] <> BLANK () ), "Flag", SWITCH ( [OUTCOME], "Mild / Minor Injury", 1, "Moderate ", 2, "Major", 3 ) )Then sort the Outcome column by Flag column
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please upload some insensitive data samples and expected output.Best Regards,
Eyelyn Qin
Anonymous
5 years agoNot applicable
Hi Anonymous - You can use filters to exclude No Injury reported or Blank.
Click on chart> in filters panel > Outcome is not 'No Injury Reported' etc.
Hope this helps.
Cheers,
-Namish B