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
Learner_SG
Helper IV
Helper IV

Select the 4 highest values from 2 days and different time intervals.

Hi,

could help me on this matter pls. I have a summarized table as shown below. I need to select the 4 highest value from last 6th and 7th day and from each time intervals. The maximum water consumed from each time interval is chosen .So the highlighted values in the 2nd image will be the one that need to be selected. I have attached a sample data.

Learner_SG_0-1652848300325.png

Learner_SG_1-1652848176684.png

https://docs.google.com/spreadsheets/d/13j1zsIoI9CMrGhfMHV9aMfSVcRT9lgVy/edit?usp=sharing&ouid=10671...

 

1 ACCEPTED SOLUTION
sturlaws
Resident Rockstar
Resident Rockstar

Hi, @Learner_SG,

I think the answer for your question can be found here:
Filtering the Top 3 products for each category in Power BI - SQLBI

 

I have made an example based on the data you provided:
example 

 

Cheers,
Sturla

If this post helps, then please consider Accepting it as the solution. Kudos are nice too.

View solution in original post

1 REPLY 1
sturlaws
Resident Rockstar
Resident Rockstar

Hi, @Learner_SG,

I think the answer for your question can be found here:
Filtering the Top 3 products for each category in Power BI - SQLBI

 

I have made an example based on the data you provided:
example 

 

Cheers,
Sturla

If this post helps, then please consider Accepting it as the solution. Kudos are nice too.

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.