Forum Discussion
Need help with conditional formatting in a table
Hey All,
I have an assignment that requires a conditional formatting in table for a txt field.
The possible Values are "Red"/"Green"/ "Yellow". I have created another column and converted these values to 0,1,2.
I'm currently facing two issues:
1. In the table I have two text columns that contains these values like "Project Status", "Budget Status", one of them could be "Yellow" and the other one "Red". Is there any convinient solution for this?
2. When converting to 0,1,2 I can't hide these values from the column (I wanted to only leave the cell color without any value).
We have the orignal reportSSRS , that one, however, contains Traffic light indicators instead on the ""Red"/"Green"/ "Yellow".
a Snapshot from PowerBI:
I feel like this is not a real solution.
Any help/idea for a solution would be greatly appreciated!
8 Replies
- AnonymousNot applicable
- MalSResolver III
This might not be very convenient for you, but you can import a KPI from an Excel Power Pivot, and when you show that in a PowerBI table it will use the KPI symbol.
For example, if you download the Retail Analysis Sample.xlsx from here and import into Power BI, you should see a 'This Year Sales' KPI.
Add the Status field to a table and it will show the KPI symbols that were set up in Excel:
- radhikabediFrequent Visitor
I was trying your solution, but Power BI won't let me "get data" from that file. It shows up as a folder with no tables. I am trying to import as an Excel type.
Let me know if I should be doing something differently.
- MalSResolver III
Yes - "get data" doesn't work on this file because the data is stored in a 'Data Model' in Excel (not in regular Excel sheets).
You need to go to File > Import > Excel Workbook Contents
- Ronnie7Helper II
Anyone?