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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors