Forum Discussion
warnera
6 years agoHelper I
Distinct total based on another column
Hello, I have a data set like this. I am trying to get a distinct count of the medication per MRN. The medication may repeat for the MRN but I would only like to count it once. MRN Medication ...
- Anonymous6 years ago
Hi warnera ,
Apart from Solution mentioned abovem you can try
Count = CountROWS(SUMMARIZE('Table','Table'[Medication],'Table'[MRN ]))Regards,
Harsh NathaniDid I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
rubinboer
6 years agoResolver II
a normal table can visualize the data as it is, should you not need the count in other calculations. Add a table to the canvas drop the Medicine column in it first and then add th distinct count of the MRN. rename the Count of MRN to MRN. a quick ways if all you want is the visualization.