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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
duggy
Advocate II
Advocate II

Display in table the maximum value and the date this value occured

Hi,

 

I am looking to show the maximum value of a column in a given slider date range. At the same time though I would like to show the date that this event occured.

The way that I have attempted to do this is to do the Top 1 transaction values. This elements shows nicely in the table, but when I add the date next to ir, it defaults to Earliest Date of the slider rather than the date that this maximum transaction numbers occured.

 

Much appreciated.

 

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

 

Share some data and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
v-cherch-msft
Employee
Employee

Hi @duggy

 

You may try to check the date and use ‘Don’t summarize’ for it. If it is not your case, please share your data sample. You can upload it to OneDrive or Dropbox and post the link here.

 

1.png

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Nope, didnt work. Just shows the same date for all the rows irrespective of the change.

I believe the reason is that I am adding the visual filter for Top 1 filter. When I remove the Top 1 filter the dates seem to show but it shows all the values, not the top 1 for each site.

 

The combination seems to be throwing it off.

Hi @duggy

 

It seems you may try to use RANKX Function to create a measure for your data. Then drag the measure to visual level filter and then use TOP 1 for it.

 

Regards,
Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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