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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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