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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Easley06
Helper II
Helper II

SUm of percentage in table

hi 

 

how to get this percentage into measure that will be used as line y-axis in visual

Easley06_0-1669209223279.png

 

% policy count = DIVIDE(COUNT(tbl_purchase_journey[chdrnum]),calculate(COUNT(tbl_purchase_journey[chdrnum]),ALL(tbl_purchase_journey[TAT from Submit Date])),0)
 
 
thankyou,

 

1 ACCEPTED SOLUTION

Hi, @Easley06 

 

According to your formula, you can change it like this.

Measure:

% policy count =
DIVIDE (
    COUNT ( tbl_purchase_journey[chdrnum] ),
    CALCULATE (
        COUNT ( tbl_purchase_journey[chdrnum] ),
        ALL ( tbl_purchase_journey )
    ),
    0
)
% policy count2 =
SUMX (
    FILTER ( ALL ( tbl_purchase_journey ), [TAT from Submit Date] <> ">2days" ),
    [% policy count]
)

vzhangti_0-1669281702460.png

Is this the result you expect?

Best Regards,

Community Support Team _Charlotte

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

3 REPLIES 3
amitchandak
Super User
Super User

@Easley06 , Try a measure like

 

sumx(Values(Table[Month]), [% policy count])

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi sir, 

 

it works but how to filter out the >2 days

Easley06_0-1669257339130.png

% policy count2 = calculate(sumx(Values(tbl_purchase_journey[TAT from Submit Date]), [% policy count]),FILTER(tbl_purchase_journey,tbl_purchase_journey[TAT from Submit Date] <> "> 2 days"))
 
thanks.

Hi, @Easley06 

 

According to your formula, you can change it like this.

Measure:

% policy count =
DIVIDE (
    COUNT ( tbl_purchase_journey[chdrnum] ),
    CALCULATE (
        COUNT ( tbl_purchase_journey[chdrnum] ),
        ALL ( tbl_purchase_journey )
    ),
    0
)
% policy count2 =
SUMX (
    FILTER ( ALL ( tbl_purchase_journey ), [TAT from Submit Date] <> ">2days" ),
    [% policy count]
)

vzhangti_0-1669281702460.png

Is this the result you expect?

Best Regards,

Community Support Team _Charlotte

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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