The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
80 | |
66 | |
53 | |
52 |
User | Count |
---|---|
121 | |
117 | |
77 | |
64 | |
63 |