Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am new to PowerBI... I am struggling to figure out a way to return a column header based on the minimum value within that row. Can anyone help me with this?
Apple | Pear | Grape | Minimum (Calculated) | Returned Value | |
A | 1 | 2 | 3 | 1 | Apple |
B | 6 | 5 | 4 | 4 | Grape |
C | 8 | 7 | 9 | 7 | Pear |
Solved! Go to Solution.
Hi @lundande
For the minimum column.
For the second part
Returned Value = IF(Fruits[Minimum] = Fruits[Value],Fruits[Attribute],"N/A")Then you can filter the table, depends on your needs. Here I filtered out N/A
Good luck!
Hi @lundande
For the minimum column.
For the second part
Returned Value = IF(Fruits[Minimum] = Fruits[Value],Fruits[Attribute],"N/A")Then you can filter the table, depends on your needs. Here I filtered out N/A
Good luck!
Perfect! Thanks for the help AClerk 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
73 | |
56 | |
38 | |
31 |
User | Count |
---|---|
84 | |
63 | |
63 | |
49 | |
45 |