Dax formula to compare data in same column

Lamda

New Member
Joined
Mar 28, 2014
Messages
35
Hey Guys,

So I have a simple table with a column of users and the day they accessed the system. In DAX I need to be able to determine whether the user is new or not on both a weekly and monthly basis. So somehow I need to be able to say - look at all the users and see which users first access point was within the last say 7 and 30 days to do weekly/monthly. Or 7/14/21 days to get the first 3 weeks or not sure how to figure out all the weeks but you get the point. Any thoughts suggestions on how I could do that in PowerBI desktop using DAX? Or helpful hints on where I could read up on how to do this would be appreciated as well.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,224,121
Messages
6,176,496
Members
452,733
Latest member
Gao87

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