Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.