Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin 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.
Hi, team!
I'd like to know how to idenfity minimum value in the same row.
Below is detail.
------------------------------------------------------------
<What I'd like to know>
How to identify minimum value among Year 2015-Year 2021 by each "Products" in the same table named "Sales" as following.
<Output image>
Column "Minimum value" and "Minimum year" are output I'd like to get
<Background>
------------------------------------------------------------
Solved! Go to Solution.
Hi,
I suggest unpivotting it in Power Query Editor.
Or, if Power Query Editor is not reachable, try creating a virtual tables those contain two columns (Product column and one of Year columns) inside a DAX measure, and then union all of them. And then MIN dax function can be possible used.
Thanks.
@Jihwan_Kim
Thank you for your prompt help!
@taimaizumi wrote:Hi, team!
I'd like to know how to idenfity minimum value in the same row.
Below is detail.
------------------------------------------------------------
<What I'd like to know>How to identify minimum value among Year 2015-Year 2021 by each "Products" in the same table named "Sales" as following.
<Output image>
Column "Minimum value" and "Minimum year" are output I'd like to get
<Background>
- Function "min" need "Column" , so I could'nt use this function in such situation
- I reseached the function which can compare scalar of each argument, but I couldn't get it
------------------------------------------------------------
-->I understand your comment. Normally, it's impossible to compare and get minimum value for same record.
Hi,
I suggest unpivotting it in Power Query Editor.
Or, if Power Query Editor is not reachable, try creating a virtual tables those contain two columns (Product column and one of Year columns) inside a DAX measure, and then union all of them. And then MIN dax function can be possible used.
Thanks.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
61 | |
61 | |
55 | |
38 | |
27 |
User | Count |
---|---|
82 | |
61 | |
45 | |
41 | |
39 |