March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe 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
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
Solved! Go to Solution.
Hi @Anonymous ,
Did @amitchandak 's formula solve your problem? I can get the correct result using the formula:
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
Hi @Anonymous ,
Did @amitchandak 's formula solve your problem? I can get the correct result using the formula:
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
@Anonymous , Try like
calculate(divide(countrows(Table), sum(Table[REGS])),filter(table,Table[Sales new used] = "New"))
@Anonymous , Try measure like
divide(countrows(filter(table,Table[Sales new used] = "New")), sum(Table[REGS]))
Business Area | REGS | Sales New used | Pen |
|
|
|
A | 968 | 2 | 2/968=0.002 |
|
|
|
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 %
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |