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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Penetration dax measure

Business area

REGS

Sales new used

penetration

 

A

50

New

(Count of new) ‘New’/REGS

 

B

30

New

 

 

C

106

New

 

 

A

200

Used

 

 

B

234

Used

 

 

C

224

New

 

 

A

768

New

 

 


This is all the data required for the Pen dax measure 

 

I need to count all the new and divide it by the amount of Regs

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Did @amitchandak 's formula solve your problem? I can get the correct result using the formula:

 

image.png     image.png

 

Does it match your desired output? If your problem is solved, please consider accept amitchandak's answer as the solution to help the other members find it more quickly.

 

Best Regards,
Winniz

View solution in original post

4 REPLIES 4
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Did @amitchandak 's formula solve your problem? I can get the correct result using the formula:

 

image.png     image.png

 

Does it match your desired output? If your problem is solved, please consider accept amitchandak's answer as the solution to help the other members find it more quickly.

 

Best Regards,
Winniz

amitchandak
Super User
Super User

@Anonymous , Try like

calculate(divide(countrows(Table), sum(Table[REGS])),filter(table,Table[Sales new used] = "New"))

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
amitchandak
Super User
Super User

@Anonymous , Try measure like

 

divide(countrows(filter(table,Table[Sales new used] = "New")), sum(Table[REGS]))

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Business Area

REGS

Sales New used

Pen

 

 

 

A

968

2

2/968=0.002
x 100 = 0.2%

 

 

 

B

300

1

 

 

 

 

C

1207

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


This is  what the result should be 

so if the deliveries are 100 and the New units are 50 altogther 

then (50/100) x 100 for %

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.