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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors