Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
KGards7
New Member

Get a % from two separate matrix tables

I have two matrix tables both drawing information from the same imported excel document.

 

The first table is Requests that have come into our queue and uses:

. Columns: "Date of Request Creation" 

. Values: "Count of Requests"

 

The second table is exactly the same but uses a column called Date of Request Closure:

. Columns: "Date of Request Closure"

. Values: "Count of Requests"

 

I need to find a way for the second table to be a percent of the first so if the first table says that 50 requests were created on a particular day and the second table says that 25 requests were closed on that same day I want the second table to say 50%, not 25.

 

Can anyone help?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @KGards7 ,

 

Here I create a sample to have a test.

RicoZhou_0-1666250188524.png

Measure:

Percentage = 
VAR _COUNT_START =
    CALCULATE (
        COUNT ( 'Table'[Requests] ),
        FILTER (
            ALL ( 'Table' ),
            'Table'[Date of Request Creation] = MAX ( 'Table'[Date of Request Closure] )
        )
    )
VAR _COUNT_CLOSURE =
    CALCULATE ( COUNT ( 'Table'[Date of Request Closure] ) )
RETURN
    DIVIDE ( _COUNT_CLOSURE, _COUNT_START )

Result is as below.

RicoZhou_1-1666250221909.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @KGards7 ,

 

Here I create a sample to have a test.

RicoZhou_0-1666250188524.png

Measure:

Percentage = 
VAR _COUNT_START =
    CALCULATE (
        COUNT ( 'Table'[Requests] ),
        FILTER (
            ALL ( 'Table' ),
            'Table'[Date of Request Creation] = MAX ( 'Table'[Date of Request Closure] )
        )
    )
VAR _COUNT_CLOSURE =
    CALCULATE ( COUNT ( 'Table'[Date of Request Closure] ) )
RETURN
    DIVIDE ( _COUNT_CLOSURE, _COUNT_START )

Result is as below.

RicoZhou_1-1666250221909.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.