Counting number of repeaed IDs

LINUS_MAASTOK

New Member
Joined
Oct 25, 2019
Messages
11
Hello everyone! i need to make a report with the number of times that a user buy a product...
the report must be separated into ranges, and the number of IDs varies from 1 to 20 in the table.

im working on power bi; maybe i need to use a measure? i leave a img of my idea. THX nwn <3


https://imgur.com/a/jyNrkyh
 

Sam_D_Ben

Active Member
Joined
Oct 17, 2012
Messages
381
Please check if this helps you.

Also you could do PIVOT.

<b>Excel 2013/2016</b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(102,0,0)"><colgroup><col width="25px" style="background-color: rgb(255,255,255)" /><col /><col /></colgroup><thead><tr style=" background-color: rgb(255,255,255);text-align: center;color: rgb(102,0,0)"><th></th><th>A</th><th>B</th></tr></thead><tbody><tr ><td style="color: rgb(102,0,0);text-align: center;">1</td><td style="text-align: center;;">Values</td><td style="text-align: center;;">Count</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">2</td><td style="text-align: center;;">965570</td><td style="text-align: center;;">7</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">3</td><td style="text-align: center;;">965570</td><td style="text-align: center;;">7</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">4</td><td style="text-align: center;;">965570</td><td style="text-align: center;;">7</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">5</td><td style="text-align: center;;">965570</td><td style="text-align: center;;">7</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">6</td><td style="text-align: center;;">965570</td><td style="text-align: center;;">7</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">7</td><td style="text-align: center;;">965570</td><td style="text-align: center;;">7</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">8</td><td style="text-align: center;;">965570</td><td style="text-align: center;;">7</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">9</td><td style="text-align: center;;">965211</td><td style="text-align: center;;">4</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">10</td><td style="text-align: center;;">965211</td><td style="text-align: center;;">4</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">11</td><td style="text-align: center;;">965211</td><td style="text-align: center;;">4</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">12</td><td style="text-align: center;;">965211</td><td style="text-align: center;;">4</td></tr><tr ><td style="color: rgb(102,0,0);text-align: center;">13</td><td style="text-align: center;;">964920</td><td style="text-align: center;;">1</td></tr></tbody></table><p style="width:4.8em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(102,0,0);border-top:none;text-align: center;background-color: rgb(255,255,255);color: rgb(102,0,0)">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(102,0,0)"><thead><tr style=" background-color: rgb(255,255,255);color: rgb(102,0,0)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(255,255,255);color: rgb(102,0,0)">B2</th><td style="text-align:left">=COUNTIF(<font color="Blue">$A$2:$A$13,A2</font>)</td></tr></tbody></table></td></tr></table><br />
 

Forum statistics

Threads
1,077,686
Messages
5,335,656
Members
399,032
Latest member
thefinu

Some videos you may like

This Week's Hot Topics

Top