![23e4d179902bd940b6cb69ce07257d68.jpg](https://quantinsightsnetwork.com/wp-content/uploads/2023/10/23e4d179902bd940b6cb69ce07257d68-678x381.jpg)
Welcome back to
this week’s edition of the Power BI blog series. This week, we look the DAX function changes
to MINX and MAX.
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image1-1695121121.png/23e4d179902bd940b6cb69ce07257d68.jpg)
Sometimes DAX decides on a change – and one has recently been announced. There is now an optional variant parameter to
the MINX and MAXX DAX functions. These functions ignore text and Boolean values
when there are variants or mixed data types, such as text and numerical. Now, with the new optional variant parameter
set to TRUE, the functions will consider the text values.
Here is an example
of a variant measure. In the table below,
the variant measure is ordered in ascending order:
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image2-1695121205.png/774347e9d296182e7854964da5b680ce.jpg)
MINX and MAXX without the variant parameter set,
or set to FALSE, will ignore text and Boolean data types.
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image3-1695121223.png/a89d72c6ed6d5a4190ebef843975e99e.jpg)
MINX and MAXX with the variant parameter set to
TRUE will now include text values. Boolean
values are still ignored.
![](https://sumproduct-4634.kxcdn.com/img/containers/main/./image4-1695121238.png/389b2e1a699ada7beebe74c2e1e22896.jpg)
The default of the MINX and MAXX optional variant parameter is FALSE, so all existing DAX expressions using MINX and MAXX will not be impacted by this
change. To allow text values to be
included, you can update the DAX expression to include TRUE as the third
parameter.
That’s it for this week. In the meantime, please remember we offer training in Power BI which you can find out more about here. If you wish to catch up on past articles, you can find all of our past Power BI blogs here.
Be the first to comment