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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
slam
Frequent Visitor

find percentage with specific number

Please help me I want to calcute percentage with z (90)( e.g 90/12 a row) in power bi, how to write dax

itemvalua%   
a1213.3 
b1415.6
c1516.7
d1617.8
e2628.9
z90 

best regards

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@slam ,

 

new column = divide([valua], sumx(filter(Table, Table[item] ="z"),[valua]) )

 

 

or a measure

new column = divide(sum(Table[valua]), sumx(filter(allselected(Table), Table[item] ="z"),[valua]) )

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

View solution in original post

slam
Frequent Visitor

Thank you so much!

View solution in original post

2 REPLIES 2
slam
Frequent Visitor

Thank you so much!

amitchandak
Super User
Super User

@slam ,

 

new column = divide([valua], sumx(filter(Table, Table[item] ="z"),[valua]) )

 

 

or a measure

new column = divide(sum(Table[valua]), sumx(filter(allselected(Table), Table[item] ="z"),[valua]) )

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.