cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
hide
Frequent Visitor

I want to display the maximum date side by side for the dates in the table

Hello,

Sorry for the elementary question.

I want to display the maximum date side by side for the dates in the table.

I want the maximum over all rows, not the maximum per row.

 

max(date) = max('Data'[Date])

sample1.png

What I would like is:

sample2.png

1 ACCEPTED SOLUTION
john_elmasry
Frequent Visitor

You Can use "ALL" Function

 

Maximum Date = CALCULATE(max('Data'[Date]),ALL('Data'))

View solution in original post

3 REPLIES 3
hide
Frequent Visitor

Thank you! It is solved. it was very helpful.

john_elmasry
Frequent Visitor

You Can use "ALL" Function

 

Maximum Date = CALCULATE(max('Data'[Date]),ALL('Data'))

When applying a filter to the table, how can I apply a filter to "min(date)" as well?

 

min(date) = CALCULATE(MIN('Data'[date]),ALL('Data'))

sample3.png

Click on another list to filter this table. How can I make it so that min(date) is also filtered?

I want to make it the minimum date after filtering.

Below is an image of what I want to do.

sample4.png

 

This kind of processing is easy with Tableau, but PowerBI is difficult.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors