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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
icdns
Post Patron
Post Patron

Get the maximum data

Hello, 

Would like to ask for your help in displaying the MAXIMUM data to be displayed as the line in my visual. 

I want my "Actual Availability" to display the latest data which is April 2020. No Date filter are applied here. 

icdns_2-1597292150194.png

Table Name: Table1

My columns are: 

  • Services
  • Date
  • Availability

Output: My line should display the latest data which is April 2020 values. 

icdns_1-1597292113934.png

Thank you! 

 

1 ACCEPTED SOLUTION
pranit828
Community Champion
Community Champion

Hi @icdns 

 

Create a measure 

 

max_data = CALCULATE(MAX(table[Availability],Allexcept(table,table[Services]))

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Regards,
Pranit





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@icdns ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share the formula you used

Can you share sample data and sample output in table format?
Appreciate your Kudos.

I have my columns: (Date, Service, Availability). Would need your help in displaying April 2020 data as my Actual_Availability%.

 

icdns_0-1597293361466.png

 

pranit828
Community Champion
Community Champion

Hi @icdns 

 

Create a measure 

 

max_data = CALCULATE(MAX(table[Availability],Allexcept(table,table[Services]))

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Regards,
Pranit





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile

Hi Sir, 

 

It displays an error: 

icdns_0-1597293042788.png

 

😞 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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