Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello, I am facing issues while calculating the users count,I want a total users start of the each month
I have data view like
from this i want data based on user creation date for total count of users begining of the month.
can somebody please help me out.
You can try the following. create 2 measures for both. I presume you are using the created_on date as the month/year?
Create a running total. from @Greg_Deckler
Running Total =
VAR _MaxDate =
MAX ( 'Table'[created_on] )
VAR _Table =
Filter(ALLSELECTED('Table'), [created_on] <= _MaxDate)
RETURN
COUNTX(_Table, [USERID])
Then Create another measure to get the value of the previous month. You will need a date table here https://learn.microsoft.com/en-us/power-bi/guidance/model-date-tables
Total Users beginning of the month = Calculate([RunningTotal], DATEADD('DIM DATE'[Date]), -1 MONTH)
For the Users added in Month
New Users = DISTINCTCOUNT(Table[UserID])
Add the last two measure to visual
Thanks
Joe
Thank you so much, Joe for solution, i have total users count for previous year also
like in till december 2022 i have total 400 suppose and that will be continue with next year begining like that i need.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
119 | |
81 | |
48 | |
37 | |
28 |
User | Count |
---|---|
186 | |
73 | |
72 | |
48 | |
42 |