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.
Hi All
My PBI file :-
https://www.dropbox.com/s/vtv8z3w9sgm24vb/GL_WORKING%20v008.pbix?dl=0
Paul
Solved! Go to Solution.
@admin11 , Create a color measure like this
if(max(table[Index]) in {14,33,35}, "red", "white")
and use that is conditional formatting using "field value" option
Hi @admin11
You can do it by using the in-built conditional formatting.
Click on the table > on right hand side select 'Format' section > Conditional formatting > then go through all the columns, applying Background color to them based on the Index value
And the result should be the one you want
@Rigensis I manage to only highlight index column when i using your approach that is build in feature.
firstly i select Category
Then i enter number = 14
it does not work. where go wrong ?
Paul
Thank you for sharing the alternative , appraoch. what is the advantages of your approach compare with @amitchandak
Do you need to performance every row , i mean row by row ? or can be highlight the whole row ?
Paul
You have to do it for every column, just like with the other option, but you do not have to do it row by row. Just specify, which indexes to highlight, and all rows with those indexes will be highligted in the respective column.
In general for every option that goes through conditional formatting section, you will have to repeat the same logic for each column.
I just sometimes find it easier to work without the calculated measures as for large datasets they may make the whole dataset slightly slower, and they are harder to read for others, if someone else wants to work on the same file down the line.
Thank you very much , this approach have one great benefit , that is i can go in to add more row to be highlighted.
Thank you for sharing.
Paul
@admin11 , Create a color measure like this
if(max(table[Index]) in {14,33,35}, "red", "white")
and use that is conditional formatting using "field value" option
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |