Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
hi ,
i have matrix below where each case owner has score based on the total number of case
i would like to get the case owner who has max score for the current month and last month , to find score am using
Solved! Go to Solution.
@jaleef , sorry small modification
top OWNER THIS MONTH = CALCULATE(max(incidents[owninguser.fullname]),TOPN(1,allselected(incidents[owninguser.fullname]),[current month score],DESC),VALUES(incidents[owninguser.fullname]))
@jaleef , Try measures like
last MTD score = CALCULATE([score],DATESMTD(dateadd('Date'[Date],-1,MONTH)))
top OWNER THIS MONTH = CALCULATE([score],TOPN(1,allselected(Table[case owner]),[score],DESC),VALUES(Table[case owner]))
top OWNER lAST MONTH CALCULATE([score LMTD],TOPN(1,allselected(Table[case owner]),[score LMTD],DESC),VALUES(Table[case owner]))
Use date table and time intelligence for last two measure
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
hi, its giving me some value not i expected
i used
@jaleef , sorry small modification
top OWNER THIS MONTH = CALCULATE(max(incidents[owninguser.fullname]),TOPN(1,allselected(incidents[owninguser.fullname]),[current month score],DESC),VALUES(incidents[owninguser.fullname]))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |