Power bi Dax Min Date Add

In this Power Bi tutorial, we will learn how to use Power BI Dax Min Aggregation Function in Power BI.

In a recent Power Bi project, I had to calculate the minimum date values using the Power BI Min aggregation function. So in this Power BI tutorial, I have clearly described to you how to calculate the minimum value for the Power Bi report and also how to add months and today’s value.

  • Power bi Dax min date add a column
  • Power bi Dax min date add days
  • Power bi Dax min date add months
  • Power bi Dax min date add today

Power bi Dax min date add a column

Let us see how we can find the minimum date value and display the result value in the new column using the Power Bi Min function in Power Bi.

In this example, we are going to use the car’s table data to calculate the Min date value using the Power Bi Min function.

Open the Power Bi desktop, and load the data into the desktop. Once the data has been loaded, select the new column option from the ribbon under the Home tab and apply the below-mentioned formula.

Min_value = MIN ( Cars[Planned Sale Date] )

Where,

  1. Min_value = New Column name
  2. Cars = Table Name
  3. Planned Sale Date = Existing column name

The screenshot below displays the minimum date value for the planned sale date in a new column.

Power bi Dax min date add a column
Power bi Dax min date add a column

This is how to find the minimum date value and display the result value in the new column using the Power Bi Min function in Power Bi.

Read Power BI DAX Min Date Sum

Power bi Dax min date add days

Here we will see how we can use the Power BI DAX Min function and calculate the minimum date value in Power Bi.

Initially, load the data into the Power Bi desktop, and from the ribbon select the new measure option and apply the below-mentioned formula.

MinDateMeasure = 
VAR mindate =
    CALCULATE ( MIN ( Cars[Released Date]), ALL (Cars) )
RETURN
    CALCULATE (
        SUM ( Cars[Price] ),
        FILTER ( 'Cars', Cars[Released Date] = mindate )
    )

Where,

  1. MinDateMeasure  = New measure name
  2. Cars = Table Name
  3. min date = Variable Name
  4. Released Date, Price  = Existing column names
  • Select the Table visual from the visualizations in the Power Bi report section.
  • In the table visual and then drag and drop the Car Model, Car Name, Released date, and car price.
  • In addition, drag and drop the created measure value to find the minimum date car price value. The screenshot below displays the minimum date value price in the table visual.
DATEADD and min function DAX
DATEADD and min function DAX

This is how to use the Power BI DAX Min function and calculate the minimum date value in Power Bi.

Read Power BI DAX Min Date Minus

Power bi Dax min date add months

Let us see how we can add months to the min date using the Power Bi Min function in Power Bi.

In this example, we will add 3 months (90 days) to the minimum date value using the Power bi DAX function in Power bi.

  • Initially, load the data into the Power Bi desktop, and from the ribbon select the new measure option and apply the below-mentioned formula.
Add Month = CALCULATE(MIN(Cars[Released Date])+90)

where,

  1. Add Month = New Measure name
  2. Cars = Table Name
  3. Released Date = Existing Column Name
  • Select the Table visual from the visualizations in the Power Bi report section.
  • In the table visual and then drag and drop the Car Model, Car Name, Released date, and car price.
  • In addition, drag and drop the created measure value to display the minimum date value by adding 3 months to the date value.
Power bi Dax min date add months
Power bi Dax min date add months

This is how to add months to the min date using the Power Bi Min function in Power Bi.

Read Power BI DAX Min Date Validation

Power bi Dax min date add today

Let us see how to add the today value in the new column using the Power Bi Dax function in Power Bi.

In this example, we will add today’s date value to the new column using the Power Bi Dax function.

Open the Power Bi desktop, and load the data into the desktop. Once the data has been loaded, select the new column option from the ribbon under the Home tab and apply the below-mentioned formula.

Today Value = NOW()

Where,

Today Value = New Column name

The screenshot below displays today’s date value in a new column using the Power Bi Now function.

Power bi Dax min date add today
Power bi Dax min date add today

This is how to display the today value in the new column using the Power Bi Dax function in Power Bi.

This Power BI tutorial explained how to easily calculate the Minimum value and add months to it and today’s value in a new column. Also, we covered these topics below:

  • Power bi Dax min date add a column
  • Power bi Dax min date add days
  • Power bi Dax min date add months
  • Power bi Dax min date add today

You may like the following Power BI tutorials:

>