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

getting percentage in matrix

Hi,

 

would like to ask help for this problem i have matrix table but i want to put it in measure getting only the percentage of  1 and 2 

Easley06_0-1669180675654.png

current measure: 

% policy count = DIVIDE(COUNT(tbl_purchase_journey[chdrnum]),calculate(COUNT(tbl_purchase_journey[chdrnum]),ALL(tbl_purchase_journey[adjusted_issued_within_2_days])),0)
 
the measure will be used as line y-axis 
Easley06_0-1669185906544.png

 

thanks
3 REPLIES 3
FreemanZ
Super User
Super User

you shall be able to filter out the ">2 day" in the filter pane, or 

FreemanZ_0-1669184308475.png

 

or try to wrap your measure with IF condition, like this:

% policy count = 
IF(
    VALUES(tbl_purchase_journey[adjusted_issued_within_2_days]) = "> 2 days",
    BLANK(),
    DIVIDE(
          COUNT(tbl_purchase_journey[chdrnum]),
          CALCUALTE(
                COUNT(tbl_purchase_journey[chdrnum]),
                ALL(tbl_purchase_journey[adjusted_issued_within_2_days])
          ),
          0
    )
)

Hi sir, 

 

i will use the measure for this table. for line y-axis 

Easley06_0-1669185623543.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.