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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
vannavada
Frequent Visitor

Sort by Value and Background color in tabular report

Hello Good People, 

I don't seem to find a straight forward answer to posting it here. I have a tabular report with 20 columns. There is one column 'NumberofDays' which has integer data. I have applied background color using a calculated filed. Now, the user want to sort that column basing on the background and the value in it. If you see in the below screenshot, it is sorted by the value but the user also wants to sort it by value and color so that they could look at the red flagged ones at the botton and the rest at the top.

Please help!

vannavada_0-1690134412587.png



Here is the sample data and pbix file. I want the Days column to be sorted by value and color. Something like the below screenshot but in power bi.

vannavada_0-1690311488187.png

 

 

 

 

Please let me know if this works.


Data
PBIX_File

 

3 REPLIES 3
vannavada
Frequent Visitor

Here is the sample data and pbix file. I want the Days column to be sorted by value and color. Something like the below screenshot but in power bi.

vannavada_0-1690156668879.png

 

 

 

Please let me know if this works.


Data
PBIX_File

foodd
Super User
Super User

Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.

@foodd Thank you and will do

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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