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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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"))

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@Anonymous , Try measure like

 

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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.