Instagram
youtube
Facebook

Q) How to find MIN between two columns in powerbi

Answer:

There is no built-in function to find the minimum value between two columns in Power BI. However, you can easily create a custom function to do this.

1. Create a new query in Power BI.

2. Enter the following code into the query editor:

(minColumn1, minColumn2) =>

if minColumn1 < minColumn2 then minColumn1

else minColumn2

3. Select the columns you want to find the minimum value for and enter them into the function as arguments.

4. The result will be the minimum value between the two columns.

  • 826 Views

FAQ

Years=[1994,1891,2010,1999,1700,1698,2004] code t…

count=0
years=[1994,1891,2010,1999,1700,1698,2004]
for i in years:
   if(i%4==0 and i%100!=0 o…

ImportError: DLL load failed while importing _cex…

To solve this error you can use . This error came when i worked on matplotlib in python. This is th…

Program to swap variables in python

A program in Python that allows two variables to swap values.

def swap(x, y):

   temp = x
…