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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.