Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
We have datasheet with columns user-id and date when the presentation was last updated. I want to create new columns that register a monthly frequency score whenever the date column gets updated. For example, if date gets updated in month of January twice the frequency score will be two for January and if date gets updated thrice in month of February the frequency score will be three and so on and so forth.
Solved! Go to Solution.
Hi @Anonymous ,
Please try below steps
1. my test table
2. add two new column
Jan Freq =
VAR cur_id = 'Table'[User-id]
VAR tmp =
FILTER (
'Table',
'Table'[User-id] = cur_id
&& MONTH ( 'Table'[Latest update date] ) = 1
)
RETURN
COUNTROWS ( tmp )
Feb Freq =
VAR cur_id = 'Table'[User-id]
VAR tmp =
FILTER (
'Table',
'Table'[User-id] = cur_id
&& MONTH ( 'Table'[Latest update date] ) = 2
)
RETURN
COUNTROWS ( tmp )
Please refer attached .pbix file
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please try below steps
1. my test table
2. add two new column
Jan Freq =
VAR cur_id = 'Table'[User-id]
VAR tmp =
FILTER (
'Table',
'Table'[User-id] = cur_id
&& MONTH ( 'Table'[Latest update date] ) = 1
)
RETURN
COUNTROWS ( tmp )
Feb Freq =
VAR cur_id = 'Table'[User-id]
VAR tmp =
FILTER (
'Table',
'Table'[User-id] = cur_id
&& MONTH ( 'Table'[Latest update date] ) = 2
)
RETURN
COUNTROWS ( tmp )
Please refer attached .pbix file
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , is it snapshot type of column , or you want to create snapshot on power bi track changes
If that is snapshot you can use distinctcount
if not you can create one using
https://blog.crossjoin.co.uk/2020/04/13/keep-the-existing-data-in-your-power-bi-dataset-and-add-new-data-to-it-using-incremental-refresh/
https://www.thebiccountant.com/2017/01/11/incremental-load-in-powerbi-using-dax-union/
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |