Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
HI All, I have a column I created with this formula "Sepsis HAI or Non = if([SEPSIS]="Y","HAI Sepsis",if([HAI or Non]="Non","No Sepsis",""))" it returns only values of: HAI Sepsis or No Sepsis or a blank. I can not figure out how to create variance between the columns items of HAI Sepsis and No Sepsis, then place it in a matrix to create the BOLDED line below in my matrix.
EX:
Month 2018-1 2018-2
Financials Cases ALOS Tot Cost Cases ALOS Tot Cost
Hospital 80 4.3 3,000 76 4.2 3,500
HAI Sepsis 10 6.2 2,000 8 6.2 2,250
No Sepsis 70 2.5 1,000 68 2.5 1,250
Variance Sepsis -60 3.7 1,000 -60 3.7 1,000
Thanks for any help you can offer.
Terry
Hi tbobolz,
"I can not figure out how to create variance between the columns items of HAI Sepsis and No Sepsis"
<--- Could you share your original table with column [HAI Sepsis] and [No Sepsis] and clarify the logic of how to achieve the variance?
Regards,
Jimmy Tao
Hi,
Thanks for the review. My table does not have a column for HAI Sepsis and No Sepsis, rather these two values are the result of a measure in one column. This is why I am struggling. I would like to create a row that calculates the variance between these two rows so that it displays the difference in the two rows, but the difference for the number of cases, ALOS (Average length of stay, and Tot Dir Cost.
Here's a link to my file with mock data.
Thanks in advance for any help you can offer.
Terry
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
39 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |