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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
matts29
Frequent Visitor

division/percentage

Hi 

Can someone help please?

 

I have a column (column a) contains rows of the value = 1 or 2 or 3. I would like to have the percentage displayed in a card where Column a ( equals 2 and 3) / Column A (count of all the numbers in this column)

 

Thanks

🙂

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @matts29 

 

Try the following dax

Percentage of 2 and 3 = 
DIVIDE(
    COUNTROWS(FILTER('Table', 'Table'[value] = 2 || 'Table'[value] = 3)),
    COUNTROWS('Table'),
    0
) * 100

 

 

This is the result you want

vjialongymsft_0-1707874234732.png

 

 

 

 

Best Regards,

Jayleny

 

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

2 REPLIES 2
Anonymous
Not applicable

Hi @matts29 

 

Try the following dax

Percentage of 2 and 3 = 
DIVIDE(
    COUNTROWS(FILTER('Table', 'Table'[value] = 2 || 'Table'[value] = 3)),
    COUNTROWS('Table'),
    0
) * 100

 

 

This is the result you want

vjialongymsft_0-1707874234732.png

 

 

 

 

Best Regards,

Jayleny

 

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

 

great thats amazing 🙂

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.