Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I have a list of hospital visits for 2020 and have been asked to visualize how many patients have had 1, 2, 3, etc. visits in each department. I'm getting myself rather counfused while WFH, but I think I need to count a count - right? Can someone help me formulate this?
I have [Visit ID], [Patient SSN] and [Department]. I want the overall results, and then I'll just filter on each Department later on. I am expecting to get something like this:
13.340 patients had 1 hospital visit
15.993 patients had 2 hospital visits
7.902 patients had 3 hospital visits
...etc.
Thanks in advance,
Heidi
Solved! Go to Solution.
@HeidiTr , I think you need bucketing on a visit measure using independent table, Post that you will be able to create %.
Check if my video can help : https://youtu.be/CuczXPj0N-k
or
https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
Hi, @HeidiTr
Can you share some fake sample data and your desired result ? And What visuals you want to use to display the result? So we can help you soon.
Best Regards
Janey Guo
Dear Janey, thank you. I figured it out myself, with inspiration from amitchandak's answer. I've accepted his answer as the "solution" now.
Best, Heidi
@HeidiTr , I think you need bucketing on a visit measure using independent table, Post that you will be able to create %.
Check if my video can help : https://youtu.be/CuczXPj0N-k
or
https://www.daxpatterns.com/dynamic-segmentation/
https://radacad.com/grouping-and-binning-step-towards-better-data-visualization
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
82 | |
57 | |
41 | |
39 |