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
phamtrinh96
Helper II
Helper II

[ Color top N ]

Hello, I have a table, There are 4 columns, RestaurantName, Time, AmountDay, TargetDay. I need to sort the AmountDay and color in the top 3. But I have a slicer select time, so each time I choose, the table will have different results. So every result I need is color top 3.  I need solution with this problem. Thanks you.

RestaurantNameTimeAmountDayTargetDay
232/3/20181200045000
232/3/20181254455654
322/3/2018140001255525
232/3/20182350085000
232/3/201845000125455
232/3/201898544556656
232/3/2018458222458222
1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @phamtrinh96 

Create measures

Measure = SUM(Sheet1[AmountDay])

Measure 2 = RANKX(ALLSELECTED(Sheet1),[Measure],,DESC,Dense)

set conditional formatting

1.png

 

 

Best Regards

Maggie

 

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

View solution in original post

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @phamtrinh96 

Is this problem sloved?

If not, please let me know.

 

Best Regards

Maggie

 

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

v-juanli-msft
Community Support
Community Support

Hi @phamtrinh96 

Create measures

Measure = SUM(Sheet1[AmountDay])

Measure 2 = RANKX(ALLSELECTED(Sheet1),[Measure],,DESC,Dense)

set conditional formatting

1.png

 

 

Best Regards

Maggie

 

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

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.