Help. Count all numbers >= 1 as 1

L

Legacy 301750

Guest
I'm creating a Dax formula where when I count the rows if the number is 1 or greater than one I get a return values of 1 and 0 is 0.

example

[Net Activations Count](sum)[Test Activation Count] (count)
11
21
41
00

<tbody>
</tbody>

The first column column counts the number records. The "Test Activation Count" counts all records on the Source column but will only return a 1 or 0.

The problem I'm getting is that the functions that I'm generating are a loop and I can't brake the loop.

Any guidance will be helpful
 
First, Thank you for taking the time.

The product activated is like a store put it on the self. This makes it active. There might be multiple of this product on the shelf but all we care about it that it is active. You can see on the first table, in some cases, that there are multiples on one product active.

On the second table I was able to show that they are active or not Using the formula above but the catch is that it does not total so I Can't get the percentage.
 
Upvote 0

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Store NameProduct 1Product 2Product 3Product 5Total
store111114
store201102
store311013
total23229
Store NameProduct 1Product 2Product 3Product 5zeros
store111110
store201102
store311011
total23220
Store NameProduct 1Product 2Product 3Product 5%ACT
store11111100#######
store2011050
store3110175
total2322100
formula in cellmarked ######
=100*(4-COUNTIF(G31:J31,0))/4

<colgroup><col><col><col span="8"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,896
Members
449,194
Latest member
JayEggleton

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top