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 September 15. Request your voucher.
For example
S.no text output value (count of sametext) Rank based on output
1 red 3 2
2 red 3 2
3 red 3 2
4 blue 4 1
5 blue 4 1
6 blue 4 1
7 blue 4 1
I need to create a measure for this last two columns.
Note: need only measure because we need to apply filters also.
Thanks
Solved! Go to Solution.
Hi @RubanBasilea ,
Try the following two measures:
Count = CALCULATE(COUNTROWS('Table');ALLEXCEPT('Table';'Table'[text]))
ranking =
RANKX(ALLSELECTED('Table'[text]);CALCULATE([Count]))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @RubanBasilea ,
Try the following two measures:
Count = CALCULATE(COUNTROWS('Table');ALLEXCEPT('Table';'Table'[text]))
ranking =
RANKX(ALLSELECTED('Table'[text]);CALCULATE([Count]))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks-
please check it and if correct mark the correct answer so it can help others.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsUser | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
180 | |
88 | |
71 | |
48 | |
46 |