countrows if

MP_123

New Member
Joined
Sep 15, 2016
Messages
1
hi,
i am using power bi and i'm try to applying some dax function without success.
datesigndevmarket#usersdev2count
1/1/2016ab cdios,androidUSA100ios2
1/1/2016ab cdios,androidUSA100android2
2/2/16re reios, PCCanada52ios1

<tbody>
</tbody>

i want to add a dynamic measure - count, that counts the rows that are exact the same, except the 'dev2' column.
i want it to by dynamic since i want it to affect from the slicer: for example if i won't choose ios in dev 2, i will get only the second row, and count will be 1.

in sql i would join between two tables and the compare a.date=b. date, etc..
thanks!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hello, and Welcome!

try
Code:
= COUNTROWS(GROUPBY(Your Table Name,[date],[sign],[dev],[market],[#users]))
or use Summarize instead of GroupBy
 
Upvote 0

Forum statistics

Threads
1,216,124
Messages
6,128,995
Members
449,480
Latest member
yesitisasport

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