Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have two columns containing data (in separate tables):
I have been able to retrieve the percentage value for the max percentage, but how do I go about doing the same for the actual amount of years based on the max percentage - using a measure and not a calculated column? Just to clarify, in this case I would like to have the text "0-3 years" in a measure.
I will be using the values in a dynamic text in a table so I will be using separate measures to try to achieve this.
Solved! Go to Solution.
You may try using TOPN.
https://community.powerbi.com/t5/Desktop/Return-another-column-based-on-condition/m-p/782140#M376699
You may try using TOPN.
https://community.powerbi.com/t5/Desktop/Return-another-column-based-on-condition/m-p/782140#M376699
User | Count |
---|---|
120 | |
69 | |
68 | |
57 | |
50 |
User | Count |
---|---|
166 | |
82 | |
68 | |
65 | |
53 |