Forum Discussion
lavadba
Microsoft Employee
4 years agoNeed help on the DAX formulation
I would like to prepare a PBI report with below parameter. Net New – Any user who used the Application in the last month and hasn't ever used before. Any user who used Application in the la...
v-jianboli-msft
Community Support
4 years agoHi lavadba
Based on your description, I have created a simple sample:
Please try:
First create three measures:
Count Last Month = COUNTX(FILTER('Table',MONTH([Date])=MONTH(TODAY())-1),[User])
Count Before = COUNTX(FILTER('Table',MONTH([Date])<MONTH(TODAY())-1),[User])
Count 6 Month Before Last Month = COUNTX(FILTER('Table',MONTH([Date])<MONTH(TODAY())-1&&MONTH([Date])>MONTH(TODAY())-8),[User])
Then create a new table with [User] Column and rename it:
Apply the measures to the visual level filter:
Recreate a new table for users who didn’t use it for over 6 months before Last month and apply filter:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.