The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have 2 tables
Dim_manager
Manager_id
Name
Start_work
Fact_sales
manager_id
sales
date
I made a measure
Growth sales is a measures here
Solved! Go to Solution.
Hi, @kristina-brooly
You can try the following methods.
sales rank =
Var _Rank=RANKX (FILTER(ALLSELECTED ('Dim_manager'),[Start_work].[MonthNo]>=MONTH(TODAY())-3),CALCULATE([growth sales]),,DESC)
Return
IF(MAX(Dim_manager[Start_work].[MonthNo])>=MONTH(TODAY())-3,_Rank,BLANK())
If this does not solve your problem, please provide example data.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @kristina-brooly
You can try the following methods.
sales rank =
Var _Rank=RANKX (FILTER(ALLSELECTED ('Dim_manager'),[Start_work].[MonthNo]>=MONTH(TODAY())-3),CALCULATE([growth sales]),,DESC)
Return
IF(MAX(Dim_manager[Start_work].[MonthNo])>=MONTH(TODAY())-3,_Rank,BLANK())
If this does not solve your problem, please provide example data.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
28 | |
13 | |
12 | |
12 | |
6 |