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.
hiiii all ......im new to power bi . I am having data with error logs and site id .
i want a matrix that shows error count with differnt background color based on average error count.
I cant change the color based on average but the color changes with constant value.
iam sharing a sample data
siteid error
1 | a |
2 | ab |
3 | abc |
4 | a |
5 | ab |
1 | abc |
2 | a |
3 | abc |
4 | ab |
5 | a |
my measures are
i cant see a change in color ......but if give
if i give
need your please help..... want to change background color in value of error based on average error count
Solved! Go to Solution.
try to change your measure to
thanks bro ... it worked .Can u tell me what mistake i made
hi @Anonymous , You missed to add the ALL(). thats why you were not able to achieve the desired output.
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
average is the average for all, so we add ALL() to ignore the filter contexts, row and column headers in your Matrix Visual.
when i use page filter siteid ....average count changes but the background color wont since we use All function......i want to color for the page filter as well
Hi @Anonymous , I think below is the solution for you.
I tried it myself,
1. Count of error =COUNT('Table (3)'[error])
2. Avg error count = CALCULATE(DIVIDE([count of error],[siteidcount]),ALL('Table (3)'))
This is the additional thing i added in the avg error count.
3. Count of error divided by siteidcount =
6. below is the output i think you need.
Regards,
Nikhil Chenna
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
try to change your measure to
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 | |
100 | |
84 | |
76 | |
65 |
User | Count |
---|---|
120 | |
111 | |
94 | |
83 | |
77 |