Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I need to calculate MIN of 8 columns which has blank values in it. I used below dax but its giving empty value when either of the columns are blank. How to avaoid this
Please help
Solved! Go to Solution.
Hi @pmadam
You should be able to minimise the use of MIN and reduce resource requirements by using a calculated column such as the following:
Min Value =
VAR _1 = MINX ( { 'Table'[Column1] , 'Table'[Column2] , 'Table'[Column3] , 'Table'[Column4], 'Table'[Column5] } , [Value] )
RETURN
_1
The formula will automatically take into account blanks so there's no need to worry about that.
Hope this helps 🙂
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Thankyou. It worked
Hi @pmadam
You should be able to minimise the use of MIN and reduce resource requirements by using a calculated column such as the following:
Min Value =
VAR _1 = MINX ( { 'Table'[Column1] , 'Table'[Column2] , 'Table'[Column3] , 'Table'[Column4], 'Table'[Column5] } , [Value] )
RETURN
_1
The formula will automatically take into account blanks so there's no need to worry about that.
Hope this helps 🙂
Theo
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
15 | |
14 | |
11 | |
7 |
User | Count |
---|---|
26 | |
24 | |
12 | |
11 | |
10 |