Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
76 | |
57 | |
36 | |
34 |
User | Count |
---|---|
99 | |
56 | |
56 | |
46 | |
40 |