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,
I like to know how I can coloring text values in a table. If I use "If" in DAX it only shows me Measures. For example I have a table with empolyees from whom I would like to know when they are in a Projekt and when they have vacation time. So my question is there any DAX funktion wich can show me that?
Best,
Kathrin
Solved! Go to Solution.
Hi @KBO
I made a test to illustrate.
Since your requirement is not completely stated, I would like to supplement it as below:
If empolyees are in a Projekt, text values column "empolyees" of in a table should be colored as red.
Create a measure to indicate which empolyees are in a Projekt.
Measure 3 = IF(MAX([time])="Projekt",1,0)
Then set conditional formatting in a table visual.
Reference:
Conditional formatting in tables
Best Regards
Maggie
Hi @KBO
I made a test to illustrate.
Since your requirement is not completely stated, I would like to supplement it as below:
If empolyees are in a Projekt, text values column "empolyees" of in a table should be colored as red.
Create a measure to indicate which empolyees are in a Projekt.
Measure 3 = IF(MAX([time])="Projekt",1,0)
Then set conditional formatting in a table visual.
Reference:
Conditional formatting in tables
Best Regards
Maggie
Sorry, but that's not exactly what I was looking for. It's a little bit complcated to explain it exact but If I found a solution I will reply it here.
In lieu of them actually getting conditional formatting working out of the box for text based fields, you could try to create some sort of measure that'll give you a 1 for yes, 0 for no result for each employee depending on the exact logic you want to use and then format based off of that?
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 | |
87 | |
64 |