Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi all,
I need to create an overview of the top 20 for claims incurred for claims opened in the last 3 calendar months.
I created the following DAX:
Top 20 Claim incurred =
VAR ClaimRank = RankX(All(Claim), [Claim incurred], , DESC
VAR Enddate = EOMonth(Today(),-1
VAR Startdate = EDate(EOMonth(Today(),-1),-3)+1
Return
IF(ClaimRank<=20 [Claim incurred] , if(MAX(Claim[Opened date])>=Startdate && MAX (Claim[Opened date])<= Enddate), [Claim incurred], BLANK ()))
But the report is not showing the correct results and I also can't add any data of other tables to the report (i.e. "client" which is is another table.
Are you able to support me? Thanks
Solved! Go to Solution.
@Marielle_P , Create a measure like
Rolling 3 = CALCULATE([Claim incurred],DATESINPERIOD('Date'[Date ],eomonth(MAX('Date'[Date ]),-1),-3,MONTH))
///or
Rolling 3 = CALCULATE([Claim incurred],DATESINPERIOD('Date'[Date ],eomonth(today(),-1),-3,MONTH))
then try rank on it, you can use the visual level filter
You can also use topN, refer to my video for that - https://www.youtube.com/watch?v=QIVEFp-QiOk
Rank = RankX(All(Claim), [Rolling 3], , DESC)
@Marielle_P , Create a measure like
Rolling 3 = CALCULATE([Claim incurred],DATESINPERIOD('Date'[Date ],eomonth(MAX('Date'[Date ]),-1),-3,MONTH))
///or
Rolling 3 = CALCULATE([Claim incurred],DATESINPERIOD('Date'[Date ],eomonth(today(),-1),-3,MONTH))
then try rank on it, you can use the visual level filter
You can also use topN, refer to my video for that - https://www.youtube.com/watch?v=QIVEFp-QiOk
Rank = RankX(All(Claim), [Rolling 3], , DESC)
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
70 | |
36 | |
21 | |
18 | |
15 |
User | Count |
---|---|
128 | |
29 | |
28 | |
24 | |
22 |