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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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])

Share with Power BI Enthusiasts: 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.