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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.