How to solve error when I am using percentages in a matrix

I have the following data source where I have to count by visit date the times that a process has passed through each month in each state, applying the visit date as the main filter for the following example I do it with the month of April.

The following is the data source I use.

City Location Name Visit Date Status Enroll Month Enroll Year
Salt Lake Capitol Building Rhoda Horton 27-05-23 Open May 2023
Salt Lake Capitol Building Rhoda Horton 27-05-23 Progress May 2023
Salt Lake Capitol Building Rhoda Horton 27-05-23 Canceled May 2023
Salt Lake Capitol Building Rhoda Horton 27-05-23 Closed May 2023
Salt Lake Capitol Building Barry Parrish 28-04-23 Open April 2023
Salt Lake Capitol Building Barry Parrish 28-04-23 Progress April 2023
Salt Lake Capitol Building Barry Parrish 28-04-23 Canceled April 2023
Salt Lake Capitol Building Barry Parrish 28-04-23 Closed May 2023
Salt Lake Red Butte Garden Carolyn Hogan 25-04-23 Open April 2023
Salt Lake Red Butte Garden Carolyn Hogan 25-04-23 Progress May 2023
Salt Lake Red Butte Garden Carolyn Hogan 25-04-23 Canceled May 2023
Salt Lake Red Butte Garden Carolyn Hogan 25-04-23 Closed June 2023
Salt Lake Capitol Building Farrah Gray 23-04-23 Open April 2023
Salt Lake Capitol Building Farrah Gray 23-04-23 Progress August 2023
Salt Lake Capitol Building Farrah Gray 23-04-23 Canceled August 2023
Salt Lake Capitol Building Farrah Gray 23-04-23 Closed August 2023

To count the number of times a process has been in each month based on the date of visit, I use the following measure:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>Total Proc. Open = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Open")
</code>
<code>Total Proc. Open = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Open") </code>
Total Proc. Open = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Open")

The same goes for each of the different Status:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>Total Proc. Progress = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Progress"))
Total Proc. Canceled = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Canceled"))
Total Proc. Closed = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Closed"))
</code>
<code>Total Proc. Progress = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Progress")) Total Proc. Canceled = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Canceled")) Total Proc. Closed = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Closed")) </code>
Total Proc. Progress = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Progress")) 
Total Proc. Canceled = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Canceled")) 
Total Proc. Closed = COUNTROWS(FILTER(Table1,Table1[STATUS] = "Closed"))

To make all this data fit the matrix I’m making, I use an additional measure where I make use of a Switch:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>Measure Status =
SWITCH(VALUES(Table1[STATUS]),
"Open",[Total Proc. Open],
"Progress",[Total Proc. Progress],
"Canceled",[Total Proc. Canceled],
"Closed",[Total Proc. Closed])
</code>
<code>Measure Status = SWITCH(VALUES(Table1[STATUS]), "Open",[Total Proc. Open], "Progress",[Total Proc. Progress], "Canceled",[Total Proc. Canceled], "Closed",[Total Proc. Closed]) </code>
Measure Status =
    SWITCH(VALUES(Table1[STATUS]),
    "Open",[Total Proc. Open],
    "Progress",[Total Proc. Progress],
    "Canceled",[Total Proc. Canceled],
    "Closed",[Total Proc. Closed])

So far everything is working correctly for me and the data is displayed correctly as I want in the following matrix:

enter image description here

The error happens when I want to show the percentages of the previous data in a new matrix, i.e. I want them to be displayed as follows:

enter image description here

For the calculation of the percentages in the matrix, I have done something similar to the previous matrix where I use a Switch, the measure is as follows:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>Percentage Measure =
SWITCH(VALUES(Table1[STATUS]),
"Open","100%",
"Progress",DIVIDE(CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Progress"),CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Open")),
"Canceled",DIVIDE(CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Canceled"),CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Open")),
"Closed",DIVIDE(CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Closed"),CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Open")))
</code>
<code>Percentage Measure = SWITCH(VALUES(Table1[STATUS]), "Open","100%", "Progress",DIVIDE(CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Progress"),CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Open")), "Canceled",DIVIDE(CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Canceled"),CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Open")), "Closed",DIVIDE(CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Closed"),CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Open"))) </code>
Percentage Measure = 
SWITCH(VALUES(Table1[STATUS]), 
"Open","100%",
"Progress",DIVIDE(CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Progress"),CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Open")),
"Canceled",DIVIDE(CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Canceled"),CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Open")),
"Closed",DIVIDE(CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Closed"),CALCULATE(COUNTROWS(Table1),Table1[STATUS] = "Open")))

When using the previous measure it only shows me the percentages of the month that I have selected in the filter and does not show me the others, an example below of what is shown is the following:

enter image description here

Are there any changes I need to make to my measure to achieve the goal?

New contributor

John Doe is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật