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.
Hello friends,
I need a help on to find the ranking of applications based on its value in month wise and year wise. see the attachment. can you help this
Solved! Go to Solution.
Hi @RENJITH_R_S ,
Please refer to my pbix file to see if it helps you.
Create measures and columns.
total value = var _1= CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),'Table'[Year]=EARLIER('Table'[Year])&&'Table'[Application]=EARLIER('Table'[Application])))
return
_1
Measure = RANKX(FILTER(ALL('Table'),'Table'[Year]=SELECTEDVALUE('Table'[Year])),CALCULATE(MAX('Table'[total value])),,DESC,Dense)
Measure 2 = RANKX(FILTER(ALL('Table'),'Table'[Month]=SELECTEDVALUE('Table'[Month])&&'Table'[Year]=SELECTEDVALUE('Table'[Year])),CALCULATE(MAX('Table'[Value])),,DESC,Dense)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @RENJITH_R_S ,
Please refer to my pbix file to see if it helps you.
Create measures and columns.
total value = var _1= CALCULATE(SUM('Table'[Value]),FILTER(ALL('Table'),'Table'[Year]=EARLIER('Table'[Year])&&'Table'[Application]=EARLIER('Table'[Application])))
return
_1
Measure = RANKX(FILTER(ALL('Table'),'Table'[Year]=SELECTEDVALUE('Table'[Year])),CALCULATE(MAX('Table'[total value])),,DESC,Dense)
Measure 2 = RANKX(FILTER(ALL('Table'),'Table'[Month]=SELECTEDVALUE('Table'[Month])&&'Table'[Year]=SELECTEDVALUE('Table'[Year])),CALCULATE(MAX('Table'[Value])),,DESC,Dense)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi !
@RENJITH_R_S
I Cretaed one logic It have work fine.
Step 1
You should create one calculated column based "YYYYMMDD" this Format .It will Came we change the Integer.that also I reated.
Below Formulas.
Step 2
You Should created a measure to rank based on Month Year and Date .
I hope this will help to You.
Thanks,
Thennarasu
@RENJITH_R_S , if you need combine rank
rankx(allselected(Date[Year], date[Month]), [Value Meausre])
This will rank inside the application, if you need an application also then
rankx(Summarize(allselected(Fact), Fact[Application], Date[Year], date[Month]), [Value Meausre])
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 |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
147 | |
109 | |
107 | |
85 | |
63 |